Skip to content

Commit

Permalink
chore(ci): setting concurrency (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda authored Dec 18, 2024
1 parent 4194dc6 commit d97dc6b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Testing

on: [push, pull_request]
on:
push:
branches: [main]
pull_request: {}

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
pytest:
Expand Down

0 comments on commit d97dc6b

Please sign in to comment.