Skip to content

Commit ed8ecf2

Browse files
authored
Use cancel-in-progress and no fast-fail for template CI (#89)
1. Cancels in progress actions when triggered (such as new commit to branch), intended to prevent people from bogging down runners 2. Turns off fail-fast in case there are OS specific issues that get masked by a faster OS Surprised we didn't have both of these on before!
1 parent 0d263f7 commit ed8ecf2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

template/.github/workflows/test_and_deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,17 @@ on:
1515
- npe2
1616
workflow_dispatch:
1717

18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
1822
jobs:
1923
test:
2024
name: ${{ matrix.platform }} py${{ matrix.python-version }}
2125
runs-on: ${{ matrix.platform }}
2226
timeout-minutes: 30
2327
strategy:
28+
fail-fast: false
2429
matrix:
2530
platform: [ubuntu-latest, windows-latest, macos-latest]
2631
python-version: ["3.10", "3.11", "3.12", "3.13"]

0 commit comments

Comments
 (0)