Skip to content

Commit

Permalink
workflow: run pytest in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
mvo5 committed Nov 11, 2024
1 parent 9fd5a96 commit 55fab1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ jobs:
# podman needs (parts of) the environment but will break when
# XDG_RUNTIME_DIR is set.
# TODO: figure out what exactly podman needs
sudo -E XDG_RUNTIME_DIR= pytest-3 --basetemp=/mnt/var/tmp/bib-tests
# run 8 tests in paralel
sudo -E XDG_RUNTIME_DIR= pytest-3 -n 8 --basetemp=/mnt/var/tmp/bib-tests
- name: Diskspace (after)
if: ${{ always() }}
run: |
Expand Down
1 change: 1 addition & 0 deletions test/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ paramiko==2.12.0
boto3==1.33.13
qmp==1.1.0
pylint==3.2.5
pytest-xdist

0 comments on commit 55fab1f

Please sign in to comment.