Skip to content

Commit

Permalink
Switch from pytest-parallel to pytest-xdist
Browse files Browse the repository at this point in the history
Got a warning in pytest-parallel, found out it's no longer maintained.
kevlened/pytest-parallel#118
  • Loading branch information
kelly-sovacool committed Jan 30, 2023
1 parent d688ae3 commit 5ffec5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
args: "archive --forceall --cores 2 --use-conda --conda-frontend mamba --conda-cleanup-pkgs cache --show-failed-logs --all-temp --configfile config/test.yaml"
# - name: Test with pytest
# run: |
# pytest --workers 2 .tests/
# pytest -n 2 .tests/
- name: Test with pytest
shell: bash -el {0}
run: |
pytest --workers 2 workflow/scripts/
pytest -n 2 workflow/scripts/
2 changes: 1 addition & 1 deletion workflow/envs/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ channels:
dependencies:
- black
- pytest
- pytest-parallel
- pytest-xdist
- python=3.11
- r-base=4
- r-styler
Expand Down

0 comments on commit 5ffec5b

Please sign in to comment.