Skip to content

Commit b016826

Browse files
committed
WIP -- count-fail-ratio on CI failures
1 parent c69cfa8 commit b016826

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci-tests.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
perl: '5.26'
2121
- os: macos-latest
2222
perl: latest
23+
fail-fast: false
2324
name: 🐪 Perl ${{ matrix.perl }} on ${{ matrix.os }}
2425
steps:
2526
- uses: actions/checkout@v4
@@ -35,7 +36,9 @@ jobs:
3536
./Build build
3637
- name: Run tests
3738
run: |
38-
TEST_SHARED=1 TEST_SUBREAPER=1 cover -test -report codecovbash
39+
curl https://raw.githubusercontent.com/okurz/retry/refs/heads/main/count-fail-ratio > count-fail-ratio
40+
chmod +x count-fail-ratio
41+
TEST_SHARED=1 TEST_SUBREAPER=1 runs=1000 ./count-fail-ratio cover -test -report codecovbash
3942
- name: Upload coverage to ☂️ Codecov
4043
uses: codecov/codecov-action@v5
4144
if: matrix.perl == 'latest'

0 commit comments

Comments
 (0)