diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 7e640e7e..649d3d53 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -10,6 +10,10 @@ on: paths-ignore: - 'docs/**' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + env: PYTEST_ADDOPTS: "--color=yes" diff --git a/.github/workflows/tutorials.yaml b/.github/workflows/tutorials.yaml index 5c2903ff..d8a16b7e 100644 --- a/.github/workflows/tutorials.yaml +++ b/.github/workflows/tutorials.yaml @@ -11,6 +11,10 @@ env: PYTEST_ADDOPTS: "--color=yes" python-version: "3.9" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test-tutuorials: name: 📓 Build Tutorial Notebook