Skip to content

Commit

Permalink
Merge pull request #759 from gugod/ci-perl-5.8
Browse files Browse the repository at this point in the history
testing with perl 5.8 in CI
  • Loading branch information
gugod committed Aug 4, 2022
2 parents ca448a0 + c7bfa2d commit 83dd660
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,31 @@ jobs:
tool_name: perlnitpick

yath:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
strategy:
matrix:
os: ['ubuntu-18.04']
perl: [ '5.36', '5.34' ]
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
container:
image: perl:${{ matrix.perl }}
name: Perl ${{ matrix.perl }}
steps:
- uses: actions/checkout@v2
- name: Set up perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}
- run: perl -V
- run: cpanm --quite --notest --installdeps .
- run: cpanm --quite --notest App::Yath
- run: yath test --qvf t/

prove:
runs-on: ubuntu-latest
strategy:
matrix:
perl: [ '5.8', '5.10' ]
container:
image: perl:${{ matrix.perl }}
name: Perl ${{ matrix.perl }}
steps:
- uses: actions/checkout@v2
- run: perl -V
- run: cpanm --quite --notest --installdeps .
- run: cpanm --quite --notest App::Prove
- run: prove -lrv t
2 changes: 1 addition & 1 deletion lib/App/perlbrew.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2666,7 +2666,7 @@ sub list_modules {
"TAP::Harness::Multiple" => "TAP::Harness::ReportByDescription",
);
return [map { $rename{$_} // $_ } grep { $_ ne "Perl" } split( /\n/, $stdout )];
return [map { $rename{$_} || $_ } grep { $_ ne "Perl" } split( /\n/, $stdout )];
}
sub run_command_list_modules {
Expand Down

0 comments on commit 83dd660

Please sign in to comment.