Skip to content

Commit f9106c8

Browse files
committed
Fix CI job ordering: soak runs after build, parallel with smoke
lint → test → build → smoke → soak
1 parent 8718891 commit f9106c8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/dry-run.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ jobs:
5353
needs: [build]
5454
uses: ./.github/workflows/_smoke.yml
5555

56-
# ── Soak tests (optional) ───────────────────────────────────
56+
# ── Soak tests (optional, parallel with smoke) ──────────────
5757
soak:
58-
if: ${{ inputs.soak_level != 'none' && !cancelled() && (needs.test.result == 'success' || needs.test.result == 'skipped') }}
59-
needs: [test]
58+
if: ${{ inputs.soak_level != 'none' && !cancelled() && needs.build.result == 'success' }}
59+
needs: [build]
6060
uses: ./.github/workflows/_soak.yml
6161
with:
6262
duration_minutes: 10

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
# ── 5. Soak tests ─────────────────────────────────────────────
5757
soak:
5858
if: ${{ inputs.soak_level != 'none' }}
59-
needs: [test]
59+
needs: [build]
6060
uses: ./.github/workflows/_soak.yml
6161
with:
6262
duration_minutes: 10

0 commit comments

Comments
 (0)