Skip to content

Commit

Permalink
Add pytest-xdist
Browse files Browse the repository at this point in the history
  • Loading branch information
lzqlzzq committed Dec 22, 2023
1 parent b01a548 commit d3a5968
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
pip install -e ".[test]"
- name: Test with pytest
run: pytest --cov=./ --cov-report=xml --durations=0 -v tests
run: pytest --cov=./ --cov-report=xml -n auto --durations=0 -v tests

- name: Codecov
uses: codecov/[email protected]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ packages = ["symusic"]
cmake-args = []

[project.optional-dependencies]
test = ["pytest-cov"]
test = ["pytest-cov", "pytest-xdist"]

[tool.pytest.ini_options]
minversion = "6.0"
Expand Down

0 comments on commit d3a5968

Please sign in to comment.