From 4373727edac00ef3c2ae6f26b3aafd5cfa86e4af Mon Sep 17 00:00:00 2001 From: Duncan Ferguson Date: Mon, 14 Oct 2024 23:36:24 +0100 Subject: [PATCH] Further actions changes --- .github/workflows/dzil_tester.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dzil_tester.yml b/.github/workflows/dzil_tester.yml index f530973..3be42e1 100644 --- a/.github/workflows/dzil_tester.yml +++ b/.github/workflows/dzil_tester.yml @@ -27,6 +27,10 @@ jobs: - 5.20 - 5.18 - 5.16 + include: + - perl-version: '5.38' + os: ubuntu-latest + coverage: true container: image: perldocker/perl-tester:${{ matrix.perl-version }} @@ -35,11 +39,21 @@ jobs: steps: - uses: actions/checkout@v2 - name: Regular tests + if: ${{ !matrix.coverage }} 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 + RELEASE_TESTING: 1 + AUTHOR_TESTING: 1 + - name: Coverage tests + if: ${{ matrix.coverage }} + 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