Skip to content

Commit d97dc6b

Browse files
authored
chore(ci): setting concurrency (#524)
1 parent 4194dc6 commit d97dc6b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/testing.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
name: Testing
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request: {}
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
10+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
411

512
jobs:
613
pytest:

0 commit comments

Comments
 (0)