Add workaround for git diff issue in perltidy workflow and use updated perl images for all other tests #35
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: linux | |
on: | |
push: | |
branches: | |
- '*' | |
tags-ignore: | |
- '*' | |
pull_request: | |
jobs: | |
perl: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
perl-version: | |
- '5.16' | |
- '5.18' | |
- '5.20' | |
- '5.22' | |
- '5.30' | |
- '5.32' | |
container: | |
image: perl:${{ matrix.perl-version }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: perl -V | |
run: perl -V | |
- name: Fix ExtUtils::MakeMaker (for Perl 5.16 and 5.18) | |
run: cpanm -n App::cpanminus ExtUtils::MakeMaker | |
- name: Install dependencies | |
run: | | |
cpanm -n --installdeps . | |
cpanm -n CSS::Minifier::XS JavaScript::Minifier::XS | |
cpanm -n Test::Pod Test::Pod::Coverage | |
- name: Run tests | |
run: prove -l t | |
env: | |
TEST_POD: 1 |