Skip to content

Commit 29907eb

Browse files
committed
Speed up CI
1 parent ac8fd47 commit 29907eb

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
name: CI
22

33
on:
4-
push:
5-
branches: [ master ]
64
pull_request:
7-
branches:
8-
- '**'
5+
push:
6+
branches: [master]
7+
workflow_dispatch:
98

9+
concurrency: # https://stackoverflow.com/questions/66335225#comment133398800_72408109
10+
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
11+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1012

1113
jobs:
1214
run_unittest_tests:

0 commit comments

Comments
 (0)