Skip to content

Commit

Permalink
Improve config of GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
J535D165 committed Nov 18, 2023
1 parent 35beddd commit 0f4e1a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install .
python -m pip install pytest pytest-xdist
python -m pip install ".[test]"
- name: Test with pytest
run: |
pytest -n 2
pytest -n 1
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ requires-python = ">=3.8"

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

[build-system]
build-backend = 'setuptools.build_meta'
Expand Down

0 comments on commit 0f4e1a5

Please sign in to comment.