Skip to content

Commit

Permalink
always use pytest-xdist
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Feb 8, 2024
1 parent 3d47ce5 commit 54458d0
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,12 @@ jobs:
include:
- os: ubuntu-latest
python-version: "3.9"
xdist: false
- os: ubuntu-latest
python-version: "3.10"
xdist: true
- os: ubuntu-latest
python-version: "3.11"
xdist: true
- os: macos-latest
python-version: "3.9"
xdist: true
defaults:
run:
shell: bash -l {0}
Expand Down Expand Up @@ -142,12 +138,7 @@ jobs:
- name: List installed packages
run: |
conda list
- name: Test RavenPy (single-threaded)
if: matrix.xdist == false
run: |
pytest --cov --numprocesses=0
- name: Test RavenPy (multi-threaded)
if: matrix.xdist == true
- name: Test RavenPy
run: |
pytest --cov --numprocesses=logical
- name: Report coverage
Expand Down

0 comments on commit 54458d0

Please sign in to comment.