Skip to content

Commit b76f500

Browse files
committed
Use D::C::R::Codecovbash
1 parent 81c3f82 commit b76f500

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/ci-linux.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,16 @@ jobs:
3232
# perl-version: ${{ matrix.perl }}
3333
run: |
3434
cpanm --installdeps .
35-
cpanm -n Test::Pod Test::Pod::Coverage Module::Build Devel::Cover::Report::Codecov
35+
cpanm -n Test::Pod Test::Pod::Coverage Module::Build Devel::Cover Devel::Cover::Report::Codecovbash
3636
perl Build.PL
3737
./Build build
3838
- name: Run tests
3939
run: |
40-
TEST_SHARED=1 TEST_SUBREAPER=1 cover -test
41-
- name: Report coverage
42-
run: |
43-
cover -report codecov
40+
TEST_SHARED=1 TEST_SUBREAPER=1 cover -test -report codecovbash
41+
- name: Upload coverage to Codecov
42+
uses: codecov/codecov-action@v2
43+
with:
44+
perl-version: '5.30'
45+
file: cover_db/codecov.json
46+
fail_ci_if_error: true
47+
verbose: true

0 commit comments

Comments
 (0)