From 8059554446226913fc29ba7c24f585836f764c30 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 def0d1e879..a20af79823 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.11] + experimental: [true] steps: - uses: actions/checkout@v3