Skip to content

Commit

Permalink
Update linux.yml
Browse files Browse the repository at this point in the history
fix linux
  • Loading branch information
peczenyj authored Dec 7, 2023
1 parent 76c70ef commit 048a024
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: tests
name: linux

on:
- push
Expand All @@ -24,14 +24,19 @@ jobs:
run: git config --system --add safe.directory '*'
- 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: |
curl -sL https://cpanmin.us/ | perl - -nq --with-develop --installdeps .
cpanm -n Test::Pod Test::Pod::Coverage TAP::Formatter::GitHubActions
cpanm -n TAP::Formatter::GitHubActions
- name: Fix ExtUtils::MakeMaker (for Perl 5.16 and 5.18)
run: cpanm -n App::cpanminus ExtUtils::MakeMaker
- name: Run Tests
run: prove --merge --formatter TAP::Formatter::GitHubActions -l t
run: prove -lr t
- name: Run tests (with tap formatter github actions)
if: ${{ matrix.coverage }}
run: |
cpanm -n TAP::Formatter::GitHubActions
prove --merge --formatter TAP::Formatter::GitHubActions -l t
- name: Run tests (with coverage)
if: ${{ matrix.coverage }}
env:
Expand Down

0 comments on commit 048a024

Please sign in to comment.