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 5840174
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ jobs:
pipeline-test:
name: Pipeline tests
runs-on: ubuntu-latest
needs: workflow-test

needs: [module-test, workflow-test]
strategy:
fail-fast: false
max-parallel: 1
matrix:
profile:
- gemflux
Expand Down Expand Up @@ -50,7 +51,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 +73,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 5840174

Please sign in to comment.