Skip to content

Commit

Permalink
Randomize test run order
Browse files Browse the repository at this point in the history
  • Loading branch information
Mátyás Kuti committed Feb 28, 2024
1 parent 0af2b7e commit 0634a23
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- run: make install version
- run: make unit-tests
- run: make integration-tests
- run: make integration-tests PYTEST_ARGS="--random-order"

- name: Archive logs
uses: actions/upload-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions requirements/requirements-dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ filelock
pytest
pytest-xdist[psutil]
pytest-timeout
pytest-random-order
psutil
requests
hypothesis
Expand Down
3 changes: 3 additions & 0 deletions requirements/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,11 @@ pyrepl==0.9.0
pytest==7.4.4
# via
# -r requirements/requirements-dev.in
# pytest-random-order
# pytest-timeout
# pytest-xdist
pytest-random-order==1.1.1
# via -r requirements/requirements-dev.in
pytest-timeout==2.2.0
# via -r requirements/requirements-dev.in
pytest-xdist[psutil]==3.5.0
Expand Down

0 comments on commit 0634a23

Please sign in to comment.