Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/phpunit-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ on:
permissions:
contents: read

# A new PR cycle supersedes its previous qualification. Main and manual runs
# keep distinct run IDs so each requested qualification can finish.
concurrency:
group: phpunit-feature-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
action-policy:
name: Central action policy preflight
Expand Down Expand Up @@ -116,7 +122,8 @@ jobs:
feature:
name: PHPUnit feature suite
needs: action-policy
if: ${{ always() }}
# Report policy failures while allowing cancelled revisions to stop.
if: ${{ always() && !cancelled() }}
runs-on: ubuntu-latest
timeout-minutes: 25
steps:
Expand Down Expand Up @@ -345,7 +352,7 @@ jobs:
qualification:
name: Feature source qualification
needs: [preflight, feature]
if: ${{ always() }}
if: ${{ always() && !cancelled() }}
runs-on: ubuntu-latest
timeout-minutes: 2

Expand Down
Loading