curl https://raw.githubusercontent.com/perl-actions/ci-perl-tester-helpers/main/bin/upgrade-perl-helpers | bash
BUILD_DIR
CODECOV_TOKEN
COVERALLS_TOKEN
HARNESS_PERL_SWITCHES
You can lint this project locally via precious lint --all
Commands are also available as github actions:
job:
linux:
...
steps:
...
- uses: perl-actions/ci-perl-tester-helpers/install-test-helper-deps@main
- uses: perl-actions/ci-perl-tester-helpers/cpan-install-build-deps@main
- uses: perl-actions/ci-perl-tester-helpers/build-dist@main
- uses: perl-actions/ci-perl-tester-helpers/cpan-install-dist-deps@main
- uses: perl-actions/ci-perl-tester-helpers/test-dist@main
env:
AUTHOR_TESTING: 1
Build your distribution detecting what framework you are using.
Install build dependencies (eg: dzil modules referenced in your dist.ini
)
Install dependencies of your distribution.
Install dependencies required by ci-perl-tester-helpers
cpm
- required version min0.997014
Tests your distribution using prove
with --state save
.
Recognizes env variables:
AUTHOR_TESTING
If set to1
, includes tests inxt
directory (if available)