From 09bc892500e94d1f8ebd6091171027434f56018e Mon Sep 17 00:00:00 2001 From: Petter Friberg Date: Mon, 8 Apr 2024 11:28:39 +0200 Subject: [PATCH] Update CI test to not fail fast and cancel workflows on same HEAD ref --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 788c2e1..e8ea42e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,14 +10,20 @@ on: paths-ignore: - 'docs/**' +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + env: FORCE_COLOR: 1 + PYTHONUNBUFFERED: "1" jobs: test: name: Test Python ${{ matrix.python-version }} runs-on: ubuntu-latest strategy: + fail-fast: false max-parallel: 4 matrix: python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]