From f99b21965cd0b4b679900e537fcebe78f24e4b9f Mon Sep 17 00:00:00 2001 From: Morten Brekkevold Date: Thu, 30 Nov 2023 11:47:43 +0100 Subject: [PATCH] Continue matrix on error This attempts to ensure that the whole matrix isn't cancelled when a single job fails. Based on https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#handling-failures --- .github/workflows/build-and-test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 5839381732..81fd89b766 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -5,11 +5,14 @@ jobs: build-and-test: name: "Test on Python ${{ matrix.python-version}}" runs-on: ubuntu-latest + continue-on-error: ${{ matrix.experimental }} strategy: max-parallel: 4 + fail-fast: true matrix: python-version: ["3.7", "3.8", "3.9", "3.10"] + experimental: [true] steps: - uses: actions/checkout@v3