Skip to content

Commit

Permalink
feat: add concurrency settings to backend and integration test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
kneerose committed Feb 7, 2025
1 parent d1bb75c commit 6f3cbf8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/test_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,21 @@ on:
workflows: ["Build and deploy GovTool test stack"]
types: [completed]

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

jobs:
backend-tests:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
outputs:
start_time: ${{ steps.run-tests.outputs.timestamp }}
status: ${{ steps.set-pending-status.outcome }}
start_time: ${{ steps.set-pending-status.outputs.timestamp }}
status: ${{ steps.run-tests.outcome }}
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set pending commit status
id: set-pending-status
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test_integration_playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ on:
workflows: ["Build and deploy GovTool test stack"]
types: [completed]

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

jobs:
integration-tests:
Expand Down

0 comments on commit 6f3cbf8

Please sign in to comment.