Skip to content

Commit

Permalink
push coverage to Coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
jvolkening committed Dec 8, 2023
1 parent a943a0b commit 764febb
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:
perl-version:
- '5.36'
- '5.16'
include:
- perl-version: '5.36'
os: ubuntu-latest
coverage: true

container:
image: perldocker/perl-tester:${{ matrix.perl-version }}
Expand All @@ -27,4 +31,13 @@ jobs:
- run: cpanm --notest --installdeps --verbose .
- run: perl Build.PL
- run: ./Build
- run: prove -wlvmb t
- name: Run Tests (no coverage)
if: ${{ !matrix.coverage }}
run: prove -wlvmb t
- name: Run Tests (with coverage)
if: ${{ matrix.coverage }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cpanm -n Devel::Cover::Report::Coveralls
cover -test -report Coveralls

0 comments on commit 764febb

Please sign in to comment.