Skip to content

Commit

Permalink
ci: execute tests in parallel (#185)
Browse files Browse the repository at this point in the history
With #159 and #162, we have added more and longer-running tests, which
results in the test suite taking over 10 minutes to complete. Since the
tests are independent of each other, they can be run in parallel.
  • Loading branch information
mbelak-dtml authored Oct 13, 2023
1 parent 9486b2e commit 6b4ac26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
poetry install -E all
- name: Test python
run: |
poetry run python -m pytest --disable-warnings --cov=edvart tests/
poetry run python -m pytest -n auto --disable-warnings --cov=edvart tests/
- name: Lint
run: |
poetry run pylint --rcfile=.pylintrc edvart/
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jupyter = "*"
black = "^22.3.0"
pylint = "^2.14.3"
sphinx-copybutton = "^0.5.2"
pytest-xdist = "^3.3.1"

[build-system]
requires = ["poetry_core>=1.0.0"]
Expand Down

0 comments on commit 6b4ac26

Please sign in to comment.