File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,17 +34,21 @@ jobs:
3434 perl Build.PL
3535 ./Build build
3636 - name : Run tests
37- if : matrix.perl != 'latest'
37+ if : matrix.perl != 'latest' || matrix.os == 'macos-latest'
3838 run : |
3939 TEST_SHARED=1 TEST_SUBREAPER=1 prove -l t
40- - name : Run tests with coverage
41- if : matrix.perl == 'latest'
40+ - name : Run tests with coverage and retry
41+ if : matrix.perl == 'latest' && matrix.os != 'macos-latest'
4242 run : |
43- TEST_SHARED=1 TEST_SUBREAPER=1 PERL5OPT="-MDevel::Cover=-coverage,statement" prove -l t
43+ # t/01_run.t can segfault, retrying multiple times
44+ # See https://progress.opensuse.org/issues/180026
45+ curl https://raw.githubusercontent.com/okurz/retry/refs/heads/main/retry > retry
46+ chmod +x retry
47+ ./retry -r 7 env TEST_SHARED=1 TEST_SUBREAPER=1 PERL5OPT="-MDevel::Cover=-coverage,statement" prove -l t
4448 cover -report codecovbash
4549 - name : Upload coverage to ☂️ Codecov
4650 uses : codecov/codecov-action@v5
47- if : matrix.perl == 'latest'
51+ if : matrix.perl == 'latest' && matrix.os != 'macos-latest'
4852 with :
4953 token : ${{ secrets.CODECOV_TOKEN }}
5054 file : cover_db/codecov.json
You can’t perform that action at this time.
0 commit comments