From 8b4070dbcfbd932e3de7318826da2221b48422a0 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 27 Sep 2025 18:04:43 +0200 Subject: [PATCH] chore(ci): parallel tests --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4363db62b..7fbfbc735 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,7 +67,7 @@ jobs: - name: Tests if: (!(runner.os == 'Linux' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-24.04')) run: | - pytest --random-order --durations 20 + pytest --random-order --durations 20 -n auto - name: Tests with Coveralls if: (runner.os == 'Linux' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-24.04') @@ -94,7 +94,7 @@ jobs: run: | python build_helpers/create_command_partials.py - - name: Check for repository changes + - name: Check for repository changes - *nix # TODO: python 3.13 slightly changed the output of argparse. if: ${{ (matrix.python-version != '3.13') && (runner.os != 'Windows') }} run: | @@ -107,7 +107,7 @@ jobs: echo "Repository is clean, no changes detected." fi - - name: Check for repository changes + - name: Check for repository changes - Windows if: ${{ runner.os == 'Windows' && (matrix.python-version != '3.13') }} run: | if (git status --porcelain) {