Skip to content

Commit

Permalink
Use pytest-xdist to speed up CI
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJCLaw committed Oct 26, 2023
1 parent ffb885b commit 5845828
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:

- name: Test with pytest
run: |
coverage run --branch --include='asttokens/*' -m pytest --junitxml=./rspec.xml
coverage run --branch --include='asttokens/*' -m pytest -n auto --junitxml=./rspec.xml
coverage report -m
- name: Collect coverage results
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ test =
astroid >=1, <2; python_version < "3"
astroid >=2, <4; python_version >= "3"
pytest
pytest-xdist

[options.package_data]
asttokens = py.typed
Expand Down

0 comments on commit 5845828

Please sign in to comment.