ci: add if: !cancelled() so test jobs run even if setup fails

The ghidra-setup job can fail due to transient GitHub API rate limits.
Test jobs have their own fallback setup step, so they should run
regardless. Using !cancelled() instead of always() means jobs still
get skipped if the workflow is manually cancelled.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Alexander Kiselev
2026-02-06 19:21:44 -08:00
co-authored by Claude Opus 4.6
parent 350f086750
commit 5b10ad4c00
+3
View File
@@ -118,6 +118,7 @@ jobs:
# Job 3: Read-only integration tests (one bridge)
readonly-integration:
needs: ghidra-setup
if: ${{ !cancelled() }}
runs-on: ${{ matrix.os }}
timeout-minutes: 90
# Windows Ghidra tests may exceed timeout on GH Actions free runners
@@ -187,6 +188,7 @@ jobs:
# Job 4: Mutation tests (parallel with job 3)
mutation-integration:
needs: ghidra-setup
if: ${{ !cancelled() }}
runs-on: ${{ matrix.os }}
timeout-minutes: 90
continue-on-error: ${{ matrix.os == 'windows-latest' }}
@@ -255,6 +257,7 @@ jobs:
# Job 5: Infrastructure tests (parallel with jobs 3+4)
infrastructure:
needs: ghidra-setup
if: ${{ !cancelled() }}
runs-on: ${{ matrix.os }}
timeout-minutes: 90
continue-on-error: ${{ matrix.os == 'windows-latest' }}