Skip to content

Commit

Permalink
Set concurrency for GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
emi80 committed Jun 17, 2024
1 parent 47ab4f2 commit e7523d8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
pipeline-test:
name: Pipeline tests
runs-on: ubuntu-latest
needs: workflow-test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-pipeline
cancel-in-progress: true

strategy:
fail-fast: false
Expand Down Expand Up @@ -50,7 +52,9 @@ jobs:
workflow-test:
name: Workflow tests
runs-on: ubuntu-latest
needs: module-test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-workflow
cancel-in-progress: true

steps:
- uses: actions/checkout@v4
Expand All @@ -70,6 +74,9 @@ jobs:
module-test:
name: Module tests
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-module
cancel-in-progress: true

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit e7523d8

Please sign in to comment.