Skip to content

Commit

Permalink
Skip tablegenerator tests in CI in combination with cgroupsv1
Browse files Browse the repository at this point in the history
table-generator does not depend on system details like the cgroups
version, so it is enough to run its tests once in CI.
We do so in the main test runs (for cgroupsv2),
so we can skip them in the test runs for cgroupsv1.
This should speed up each of these test runs by ca. 1 minute.
  • Loading branch information
PhilippWendler committed Oct 10, 2024
1 parent f4c58a2 commit d32077e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ stages:
# Start lxcfs
- lxcfs /var/lib/lxcfs &
script:
- sudo -u $PRIMARY_USER python -m pytest -ra --cov
- sudo -u $PRIMARY_USER python -m pytest -ra --cov -k "not tablegenerator"
after_script:
- sudo -u $PRIMARY_USER coverage xml
tags:
Expand Down

0 comments on commit d32077e

Please sign in to comment.