Skip to content

Commit

Permalink
ci: switch to concurrency settings rather than extra action
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed May 5, 2023
1 parent aa926d8 commit 5eb5afd
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/cancel.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/examples-mpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ env:
OUTPUT_PATH: ${{ github.workspace }}
ENVHOME: "/home/devito/environments"

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

on:
# Trigger the workflow on push or pull request,
# but only for the master branch
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Examples

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

on:
# Trigger the workflow on push or pull request,
# but only for the master branch
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Flake8

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

on:
# Trigger the workflow on push or pull request,
# but only for the master branch
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pytest-aws.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: aws-ci

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

on:
# Trigger the workflow on push or pull request,
# but only for the master branch
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pytest-core-mpi.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: CI-mpi

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

on:
# Trigger the workflow on push or pull request,
# but only for the master branch
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pytest-core-nompi.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: CI-core

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

on:
# Trigger the workflow on push or pull request,
# but only for the master branch
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pytest-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

name: CI-gpu

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

env:
OUTPUT_PATH: ${{ github.workspace }}
RESOURCE_GROUP: CI-gpu
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tutorials.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Jupyter Notebooks

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

on:
# Trigger the workflow on push or pull request,
# but only for the master branch
Expand Down

0 comments on commit 5eb5afd

Please sign in to comment.