Skip to content

Commit 5dee9a0

Browse files
committed
Wait for CI workflow to finish before checking its results
1 parent 7fb3665 commit 5dee9a0

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/ci-matrix-gen.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ on:
2020
required: false
2121
type: number
2222
default: 7
23+
export_test_reports:
24+
required: false
25+
type: boolean
26+
default: false
2327

2428
jobs:
2529
generate-tier1:
@@ -276,7 +280,7 @@ jobs:
276280
if-no-files-found: ignore
277281

278282
- name: Upload test reports
279-
if: ${{ matrix.test_reports }}
283+
if: ${{ inputs.export_test_reports && (success() || failure()) }}
280284
uses: actions/upload-artifact@v5
281285
continue-on-error: true
282286
with:

.github/workflows/ci-unittests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,17 @@ jobs:
1212
jobs_to_run: ^(?:python-svm-build|style|style-ecj)-gate-.*$
1313
logs_retention_days: 0
1414
artifacts_retention_days: 0
15-
export_test_reports: true
1615

1716
run-tests:
1817
if: success()
1918
needs: build-standalone-artifacts
2019
uses: ./.github/workflows/ci-matrix-gen.yml
2120
with:
22-
jobs_to_run: ^(?!python-svm-build|style).*-gate.*$
21+
jobs_to_run: python-tagged-unittest-gate #^(?!python-svm-build|style).*-gate.*$
22+
export_test_reports: true
2323

2424
collect-reports:
25+
if: always()
2526
needs: run-tests
2627
runs-on: ubuntu-latest
2728
steps:

0 commit comments

Comments
 (0)