Skip to content

Commit a63355f

Browse files
committed
Add coveralls to test job
1 parent bfe71d7 commit a63355f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/perltest.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,18 @@ jobs:
4242
with:
4343
name: cpan_log
4444
path: $HOME/.cpanm/work/*/build.log
45+
46+
coverage:
47+
runs-on: ubuntu-latest
48+
container: davorg/perl-coveralls:latest
49+
name: Test coverage
50+
steps:
51+
- uses: actions/checkout@v3
52+
- run: cpanm --notest File::ShareDir::Install
53+
- run: cpanm --notest --installdeps .
54+
- name: Install modules
55+
run: cpanm -n --installdeps .
56+
- name: Coverage
57+
env:
58+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
run: cover -test -report Coveralls

0 commit comments

Comments
 (0)