Skip to content

Commit

Permalink
Add coverage tests to Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Mar 2, 2021
1 parent 221f81e commit ab4829a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/linux.yml
Expand Up @@ -75,3 +75,11 @@ jobs:
run: |
perl Makefile.PL
make disttest
- name: Setup coverage tests
run: |
cpan -M https://www.cpan.org -T Devel::Cover Devel::Cover::Report::Coveralls
- name: Run coverage tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cover -test -report coveralls
8 changes: 8 additions & 0 deletions .github/workflows/macos.yml
Expand Up @@ -54,3 +54,11 @@ jobs:
run: |
perl Makefile.PL
make disttest
- name: Setup coverage tests
run: |
cpan -M https://www.cpan.org -T Devel::Cover Devel::Cover::Report::Coveralls
- name: Run coverage tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cover -test -report coveralls
8 changes: 8 additions & 0 deletions .github/workflows/windows.yml
Expand Up @@ -55,3 +55,11 @@ jobs:
run: |
perl Makefile.PL
make disttest
- name: Setup coverage tests
run: |
cpan -M https://www.cpan.org -T Devel::Cover Devel::Cover::Report::Coveralls
- name: Run coverage tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cover -test -report coveralls

0 comments on commit ab4829a

Please sign in to comment.