Skip to content

Commit

Permalink
ci: Cancel in-progress runs (#4652)
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Sep 1, 2022
1 parent 2a0701b commit 900de49
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
- 'polars/**'
- 'py-polars/tests/db-benchmark/**'
- '.github/workflows/benchmark.yaml'

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ on:
paths:
- 'polars/**'
- '.github/workflows/build-test.yaml'
jobs:

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
examples:
name: Examples
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- 'py-polars/**'
- '.github/workflows/coverage.yaml'

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
coverage:
name: Coverage for ${{ matrix.os }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/docs_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
paths:
- 'py-polars/**'
- '.github/workflows/docs_check.yaml'

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
test:
name: Docs check
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/fmt_all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Check formatting

on:
- pull_request

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
test-fmt-all:
name: Test global formatting
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
- 'py-polars/**'
- 'polars/**'
- '.github/workflows/test-python.yaml'

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
test-python:
name: Build and test Python
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test-windows-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
paths:
- 'py-polars/**'
- '.github/workflows/test-windows-python.yaml'

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
test-python:
name: Build and test Python
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
paths:
- 'polars/**'
- '.github/workflows/test-windows.yaml'

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
test-rust:
runs-on: windows-latest
Expand Down

0 comments on commit 900de49

Please sign in to comment.