Skip to content

ci: get test coverage working again #18

ci: get test coverage working again

ci: get test coverage working again #18

Workflow file for this run

name: Coveralls
on: ["push", "pull_request"]
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shogo82148/actions-setup-perl@v1
with:
perl-version: 5.38
- name: install cpanm and multiple modules
uses: perl-actions/install-with-cpanm@v1
with:
install: |
Devel::Cover
sudo: true
- run: cpanm --installdeps -n -f .
- run: cpanm --installdeps -n -f Mail::SPF Mail::DMARC GeoIP2 ClamAV::Client Redis
- name: Run tests
env:
HARNESS_PERL_SWITCHES: '-MDevel::Cover=+ignore,^t/'
run: prove -lrv t
- name: Coveralls
uses: coverallsapp/github-action@v2