-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: get test coverage working again (#328)
- doc(README): update test status badge URLs - ci(coveralls): added GHA
- Loading branch information
Showing
3 changed files
with
51 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Coveralls | ||
|
||
on: ["push", "pull_request"] | ||
|
||
jobs: | ||
|
||
coverage: | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 10 | ||
fetch-tags: true | ||
|
||
- name: Install Perl | ||
uses: shogo82148/actions-setup-perl@v1 | ||
with: | ||
perl-version: 5.38 | ||
|
||
- run: cpanm --installdeps -n -f Mail::SPF Mail::DMARC GeoIP2 | ||
|
||
- name: Coveralls | ||
uses: mihyaeru21/actions-report-coveralls-perl@v1 | ||
|
||
# - name: install Devel::Cover | ||
# uses: perl-actions/install-with-cpanm@v1 | ||
# with: | ||
# sudo: true | ||
# install: | | ||
# Devel::Cover | ||
|
||
- run: cpanm --installdeps -n -f ClamAV::Client Redis Time::TAI64 | ||
- run: cpanm --installdeps -n -f . | ||
|
||
- name: Run tests with coverage | ||
env: | ||
HARNESS_PERL_SWITCHES: '-MDevel::Cover=+ignore,^t/' | ||
run: prove -lrv t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,25 +17,24 @@ WriteMakefile( | |
'Net::IP' => 1.26, | ||
'Time::HiRes' => 0, | ||
'IO::Socket::SSL' => 0, | ||
'ClamAV::Client' => 0, # virus/clamdscan | ||
# Dev/Test modules | ||
'Test::More' => 0, | ||
'Test::Output' => 0, | ||
# modules for specific features | ||
'ClamAV::Client' => 0, # virus/clamdscan | ||
'File::NFSLock' => 0, | ||
'File::Tail' => 0, # log/summarize, log/watch | ||
'GeoIP2' => 2, | ||
'Mail::SPF' => 1, | ||
'Mail::DKIM' => 0.40, | ||
'Mail::DMARC' => 0, | ||
'File::Tail' => 0, # log/summarize, log/watch | ||
'Time::TAI64' => 0, # log2sql | ||
'Redis' => 0, | ||
# 'DBI' => 0, # auth_vpopmail_sql and | ||
# 'DBD::mysql' => 0, # log2sql | ||
# 'DBIx::Simple' => 0, # log2sql | ||
'GeoIP2' => 2, | ||
'Mail::SpamAssassin' => 0, | ||
'Math::Complex' => 0, # geodesic distance in Geo::IP | ||
'PerlIO::gzip' => 0, # gunzip GeoIP databases | ||
'File::NFSLock' => 0, | ||
'Time::TAI64' => 0, # log2sql | ||
'Redis' => 0, | ||
# 'DBI' => 0, # auth_vpopmail_sql and | ||
# 'DBD::mysql' => 0, # log2sql | ||
# 'DBIx::Simple' => 0, # log2sql | ||
'Math::Complex' => 0, # geodesic distance in Geo::IP | ||
}, | ||
ABSTRACT => 'Flexible smtpd daemon written in Perl', | ||
AUTHOR => 'Ask Bjoern Hansen <[email protected]>', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters