diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 575dd42..76a1a6d 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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 diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index eb59a56..61f29c2 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -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 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 6180a6b..620bc53 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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