Skip to content

Commit ba1c098

Browse files
committed
try pytest-xdist
1 parent dc80bc7 commit ba1c098

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,17 @@ jobs:
5555

5656
- name: Install the Test dependencies
5757
run: |
58-
pip install -e .[test] codecov
58+
pip install -e .[test] codecov pytest-xdist[psutil]
5959
6060
- name: Run the tests with coverage on Ubuntu
6161
if: ${{ matrix.os == 'ubuntu-latest' }}
6262
run: |
63-
python -m pytest -vv --cov jupyter_releaser --cov-branch --cov-report term-missing:skip-covered
63+
python -m pytest -vv -n auto --cov jupyter_releaser --cov-branch --cov-report term-missing:skip-covered
6464
6565
- name: Run the tests on Windows and macOS
6666
if: ${{ matrix.os != 'ubuntu-latest' }}
6767
run: |
68-
python -m pytest -vv -s
68+
python -m pytest -n auto -vv -s
6969
7070
- name: Verify the Generate Changelog Action
7171
if: ${{ matrix.os == 'ubuntu' }}

0 commit comments

Comments
 (0)