Skip to content

Commit 6f3cbf8

Browse files
committed
feat: add concurrency settings to backend and integration test workflows
1 parent d1bb75c commit 6f3cbf8

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/test_backend.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,21 @@ on:
3232
workflows: ["Build and deploy GovTool test stack"]
3333
types: [completed]
3434

35+
concurrency:
36+
group: ${{ github.workflow }}-${{ github.ref }}
37+
cancel-in-progress: false
38+
3539
jobs:
3640
backend-tests:
3741
runs-on: ubuntu-latest
3842
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
3943
outputs:
40-
start_time: ${{ steps.run-tests.outputs.timestamp }}
41-
status: ${{ steps.set-pending-status.outcome }}
44+
start_time: ${{ steps.set-pending-status.outputs.timestamp }}
45+
status: ${{ steps.run-tests.outcome }}
4246
steps:
4347
- name: Checkout code
4448
uses: actions/checkout@v4
45-
49+
4650
- name: Set pending commit status
4751
id: set-pending-status
4852
run: |

.github/workflows/test_integration_playwright.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ on:
3232
workflows: ["Build and deploy GovTool test stack"]
3333
types: [completed]
3434

35+
concurrency:
36+
group: ${{ github.workflow }}-${{ github.ref }}
37+
cancel-in-progress: false
3538

3639
jobs:
3740
integration-tests:

0 commit comments

Comments
 (0)