Swap Travis-CI to Github Actions #1
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
name: CI test builds | ||
on: | ||
push: | ||
branches: '*' | ||
pull_request: | ||
branches: '*' | ||
jobs: | ||
perl-job: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matric: | ||
Check failure on line 14 in .github/workflows/dzil_tester.yml GitHub Actions / CI test buildsInvalid workflow file
|
||
perl-version: | ||
- latest | ||
- 5.40 | ||
- 5.38 | ||
- 5.36 | ||
- 5.34 | ||
- 5.32 | ||
- 5.30 | ||
- 5.28 | ||
- 5.26 | ||
- 5.24 | ||
- 5.22 | ||
- 5.20 | ||
- 5.18 | ||
- 5.16 | ||
containiner: | ||
image: perldocker/perl-tester:${{ matric.perl-version }} | ||
name: Perl ${{ matric.perl-version }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Regular tests | ||
run: | | ||
cpanm -n -f Pod::Coverage::TrustPod Test::Perl::Critic Test::Pod::Coverage Test::Pod | ||
perl Build.PL | ||
perl Build test | ||
env: | ||
- COVERAGE=1 | ||
- RELEASE_TESTING=1 | ||
- AUTHOR_TESTING=1 |