Skip to content

Commit

Permalink
migrate to using pytest-xdist
Browse files Browse the repository at this point in the history
  • Loading branch information
cahity committed Nov 28, 2024
1 parent 10bf30d commit 0e4f711
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
pip install -r requirements.txt
- name: Unit tests
run: |
pytest -ra
pytest -n auto -ra
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dependencies:
- matplotlib
- pre-commit
- pytest
- pytest-xdist
- pytest-cov
- bandit
- black
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Issues = "https://github.com/Bilkent-CYBORG/VOPy/issues"

[project.optional-dependencies]
dev = ["black", "usort", "flake8", "flake8-print"]
test = ["pre-commit", "pytest", "pytest-cov", "bandit"]
test = ["pre-commit", "pytest", "pytest-xdist", "pytest-cov", "bandit"]
examples = ["jupyter"]
docs = ["pydocstyle", "sphinx_rtd_theme", "sphinx-notfound-page", "nbsphinx"]

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ matplotlib
numpy
pre-commit
pytest
pytest-xdist
pytest-cov
bandit
black
Expand Down

0 comments on commit 0e4f711

Please sign in to comment.