Skip to content

Commit

Permalink
Try pytest-xdist (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
paddyroddy authored Oct 1, 2024
1 parent da56d82 commit 9d88841
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ jobs:
key: readme-${{ hashFiles('pyproject.toml') }}

- name: Install dependencies
run: python -m pip install -e '.[readme]'
run: python -m pip install -e ".[readme]"

- name: Run examples in the README
run: python -m pytest --codeblocks .github README.md documentation
run: >-
python -m pytest --codeblocks .github README.md documentation -n auto
examples:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ optional-dependencies = {dev = [
"pdoc3",
], readme = [
"pytest-codeblocks",
"pytest-xdist",
]}
readme = "README.md"
requires-python = ">=3.10"
Expand Down

0 comments on commit 9d88841

Please sign in to comment.