Skip to content

Commit 8b4070d

Browse files
committed
chore(ci): parallel tests
1 parent 4e089fd commit 8b4070d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Tests
6868
if: (!(runner.os == 'Linux' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-24.04'))
6969
run: |
70-
pytest --random-order --durations 20
70+
pytest --random-order --durations 20 -n auto
7171
7272
- name: Tests with Coveralls
7373
if: (runner.os == 'Linux' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-24.04')
@@ -94,7 +94,7 @@ jobs:
9494
run: |
9595
python build_helpers/create_command_partials.py
9696
97-
- name: Check for repository changes
97+
- name: Check for repository changes - *nix
9898
# TODO: python 3.13 slightly changed the output of argparse.
9999
if: ${{ (matrix.python-version != '3.13') && (runner.os != 'Windows') }}
100100
run: |
@@ -107,7 +107,7 @@ jobs:
107107
echo "Repository is clean, no changes detected."
108108
fi
109109
110-
- name: Check for repository changes
110+
- name: Check for repository changes - Windows
111111
if: ${{ runner.os == 'Windows' && (matrix.python-version != '3.13') }}
112112
run: |
113113
if (git status --porcelain) {

0 commit comments

Comments
 (0)