From 71fe9559b161807a44633417eb1725bb848b9639 Mon Sep 17 00:00:00 2001 From: thomas girod Date: Thu, 4 Jul 2024 14:39:32 +0200 Subject: [PATCH] parallelize the CI --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5bbaded..ef484de2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,10 @@ jobs: tests: name: Run tests and generate coverage report runs-on: ubuntu-latest + strategy: + fail-fast: false # don't interrupt the other test processes + matrix: + pytest-mark: [slow, not slow] steps: - name: Check out repository uses: actions/checkout@v4 @@ -28,7 +32,7 @@ jobs: - uses: ./.github/actions/setup_xapian - uses: ./.github/actions/compile_messages - name: Run tests - run: poetry run coverage run -m pytest + run: poetry run coverage run -m pytest -m "${{ matrix.pytest-mark }}" - name: Generate coverage report run: | poetry run coverage report