From 697aa86cc3dc654caddd0a0c17193f1f1b3c3fd5 Mon Sep 17 00:00:00 2001 From: AlexVCaron Date: Wed, 7 Feb 2024 14:24:52 -0500 Subject: [PATCH] cancel previous concurrent build --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4bca3eb92..ea2a4d5df 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,6 +8,10 @@ on: branches: - master +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + env: MPLBACKEND: agg OPENBLAS_NUM_THREADS: 1