Skip to content

Commit 3c5c8d6

Browse files
Use xdist to accelerate unit tests
Signed-off-by: Johannes Mueller <[email protected]>
1 parent db84ab7 commit 3c5c8d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: .github/workflows/pytest.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ jobs:
3535
- name: Set up Python
3636
run: uv python install
3737
- name: Install python essentials
38-
run: uv pip install -U setuptools setuptools_scm wheel
38+
run: uv pip install -U setuptools setuptools_scm wheel pytest-xdist
3939
- name: Install dependencies complete
4040
if: matrix.only-minimal != true
4141
run: uv pip install -e .[all,testing]
4242
- name: Install dependencies minimal
4343
if: matrix.only-minimal == true
4444
run: uv pip install -e .[testing]
4545
- name: Unit tests
46-
run: pytest
46+
run: pytest -n auto
4747
- name: Notebook flow tests
4848
if: matrix.only-minimal != true
4949
uses: coactions/setup-xvfb@v1

0 commit comments

Comments
 (0)