Skip to content

fix syntax

fix syntax #19

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 modules
uses: perl-actions/install-with-cpanm@v1
with:
install: |
Devel::Cover
sudo: true
- name: install cpanm and modules
uses: perl-actions/install-with-cpanm@v1
with:
install: |
GeoIP2
Time::TAI64
Mail::DMARC
tests: false
sudo: false
- run: cpanm --installdeps -n -f Mail::SPF Mail::DMARC GeoIP2 ClamAV::Client Redis
- run: cpanm --installdeps -n -f .
- name: Run tests with coverage
env:
HARNESS_PERL_SWITCHES: '-MDevel::Cover=+ignore,^t/'
run: prove -lrv t
- name: Coveralls
uses: coverallsapp/github-action@v2