Skip to content

Commit 93da51e

Browse files
committed
test: Fail coverage ci on purpose
1 parent 7e496de commit 93da51e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/coverage.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ jobs:
3737
- name: Install dependencies
3838
run: npm ci
3939

40+
# Intentionally fail the job (prevents uploads below)
41+
- name: Fail intentionally
42+
run: |
43+
echo "Intentionally failing coverage job"
44+
exit 1
45+
4046
- name: Check coverage
4147
working-directory: packages/${{ matrix.package }}
4248
run: npm run coverage
@@ -51,7 +57,8 @@ jobs:
5157

5258
finish:
5359
needs: coverage
54-
if: ${{ always() }}
60+
# Only run the "finish" step if the matrix succeeded (skip when we fail intentionally)
61+
if: ${{ needs.coverage.result == 'success' }}
5562
runs-on: ubuntu-24.04
5663
steps:
5764
- name: Close parallel build

0 commit comments

Comments
 (0)