Skip to content

Commit

Permalink
Fixes to some test steps
Browse files Browse the repository at this point in the history
- Add in the path to the fake xterm script (as docker doesnt have xterm)
- Add in perl 5.41 for testing
- Log environment info and perl version in test output
- Ensure the manifesst file is built before testing starts
  • Loading branch information
Duncan Ferguson committed Oct 15, 2024
1 parent a5504bc commit fbaafc7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/dzil_tester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
fail-fast: false
matrix:
perl-version:
- '5.41'
- '5.40'
- '5.38'
- '5.36'
Expand All @@ -37,11 +38,19 @@ jobs:

steps:
- uses: actions/checkout@main
- name: Amend PATH
run: |
echo "${{ env.GITHUB_WORKSPACE }}/t/bin" >> $GITHUB_PATH
- name: Current env
run: env
- name: Perl info
run: perl -V
- name: Regular tests
if: ${{ !matrix.coverage }}
run: |
cpanm -n -f Pod::Coverage::TrustPod Test::Perl::Critic Test::Pod::Coverage Test::Pod Test::Trap
perl Build.PL
perl Build manifest
perl Build test
env:
RELEASE_TESTING: 1
Expand All @@ -51,6 +60,7 @@ jobs:
run: |
cpanm -n -f Pod::Coverage::TrustPod Test::Perl::Critic Test::Pod::Coverage Test::Pod Test::Trap
perl Build.PL
perl Build manifest
perl Build test
env:
COVERAGE: 1
Expand Down

0 comments on commit fbaafc7

Please sign in to comment.