Skip to content

Commit

Permalink
Run Pytest tests in parallel. (#1053)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartfeenstra authored Feb 5, 2024
1 parent cbdd38a commit 7493ea9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/test-pytest
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ cd "$(dirname "$0")/.."
echo 'Running pytest...'

coverage erase
PYTHONWARNINGS='error:::betty[.*]' pytest --cov --cov-append --cov-config=.coveragerc --no-cov-on-fail "$@"
PYTHONWARNINGS='error:::betty[.*]' pytest --cov --cov-append --cov-config=.coveragerc --no-cov-on-fail -n auto "$@"
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ test = [
'pytest-cov ~= 4.0, >= 4.0.0',
'pytest-mock ~= 3.10, >= 3.10.0',
'pytest-qt ~= 4.2, >= 4.2.0',
'pytest-xdist ~= 3.5, >= 3.5.0',
'pytest-xvfb ~= 3.0, >= 3.0.0',
'types-aiofiles ~= 23.2, >= 23.2.0.0',
'types-click ~= 7.1, >= 7.1.8',
Expand Down

0 comments on commit 7493ea9

Please sign in to comment.