Skip to content

Commit 73c1df6

Browse files
authored
Merge pull request #77 from perlpunk/statement-coverage
ci: Collect statement coverage only
2 parents 6a05891 + 7a628e6 commit 73c1df6

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/ci-tests.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,14 @@ jobs:
3434
perl Build.PL
3535
./Build build
3636
- name: Run tests
37+
if: matrix.perl != 'latest'
3738
run: |
38-
TEST_SHARED=1 TEST_SUBREAPER=1 cover -test -report codecovbash
39+
TEST_SHARED=1 TEST_SUBREAPER=1 prove -l t
40+
- name: Run tests with coverage
41+
if: matrix.perl == 'latest'
42+
run: |
43+
TEST_SHARED=1 TEST_SUBREAPER=1 PERL5OPT="-MDevel::Cover=-coverage,statement" prove -l t
44+
cover -report codecovbash
3945
- name: Upload coverage to ☂️ Codecov
4046
uses: codecov/codecov-action@v5
4147
if: matrix.perl == 'latest'

0 commit comments

Comments
 (0)