File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,20 +31,22 @@ jobs:
3131 - name : Set up perl
3232 run : |
3333 cpanm --with-feature=ci --installdeps --notest .
34- perl Build.PL
35- ./Build build
3634 - name : Run tests
37- if : matrix.perl != 'latest'
35+ if : matrix.perl != 'latest' || matrix.os == 'macos-latest'
3836 run : |
3937 TEST_SHARED=1 TEST_SUBREAPER=1 prove -l t
40- - name : Run tests with coverage
41- if : matrix.perl == 'latest'
38+ - name : Run tests with coverage and retry
39+ if : matrix.perl == 'latest' && matrix.os != 'macos-latest'
4240 run : |
43- TEST_SHARED=1 TEST_SUBREAPER=1 PERL5OPT="-MDevel::Cover=-coverage,statement" prove -l t
41+ # t/01_run.t can segfault, retrying multiple times
42+ # See https://progress.opensuse.org/issues/180026
43+ curl -O https://raw.githubusercontent.com/okurz/retry/refs/heads/main/retry
44+ chmod +x retry
45+ ./retry -r 7 env TEST_SHARED=1 TEST_SUBREAPER=1 PERL5OPT="-MDevel::Cover=-coverage,statement" prove -l t
4446 cover -report codecovbash
4547 - name : Upload coverage to ☂️ Codecov
4648 uses : codecov/codecov-action@v5
47- if : matrix.perl == 'latest'
49+ if : matrix.perl == 'latest' && matrix.os != 'macos-latest'
4850 with :
4951 token : ${{ secrets.CODECOV_TOKEN }}
5052 file : cover_db/codecov.json
You can’t perform that action at this time.
0 commit comments