Skip to content

Commit

Permalink
Update concurrency settings for Integration tests (#2393)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelovilla authored Apr 18, 2024
2 parents a26b8df + 5784638 commit 91c6825
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test_local_integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,19 @@ on:
required: true
type: string

# When the cancel-in-progress: true option is specified, any concurrent jobs or workflows using the same
# concurrency group will cancel both the pending and currently running jobs or workflows. This allows only
# one job or workflow in the concurrency group to be in progress at a time.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
test-local-integration:
runs-on: "cirun-runner--${{ github.run_id }}"
defaults:
run:
shell: bash -l {0}
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
steps:
- name: 'Checkout Infrastructure'
uses: actions/checkout@main
Expand Down

0 comments on commit 91c6825

Please sign in to comment.