Skip to content

Commit

Permalink
fixup! Enable author testing
Browse files Browse the repository at this point in the history
  • Loading branch information
zmughal committed Mar 30, 2023
1 parent 0b068a6 commit 92cf0f0
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,15 @@ jobs:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
perl: ['5']
enable-author-testing: [false]
include:
- { os: 'ubuntu-latest', perl: "5" , enable-author-testing: '1' }
- { os: 'ubuntu-latest', perl: "5" , enable-author-testing: true }
- { os: 'ubuntu-latest', perl: "5.16" }
- { os: 'ubuntu-latest', perl: "5.20" }
- { os: 'ubuntu-latest', perl: "5.30" }
- { os: 'ubuntu-latest', perl: "5.32" }
- { os: 'ubuntu-latest', perl: "5.36" }
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}, author (${{ matrix.enable-author-testing || 'false' }})

steps:
- name: Get dist artifact
Expand Down Expand Up @@ -97,8 +98,12 @@ jobs:
run: |
cpanm --notest --installdeps --with-develop .
- name: Set AUTHOR_TESTING
if: matrix.enable-author-testing
shell: bash
run: |
echo "AUTHOR_TESTING=1" >> $GITHUB_ENV
- name: Run tests
env:
AUTHOR_TESTING: ${{ matrix.enable-author-testing || 0 }}
run: |
cpanm --verbose --test-only .

0 comments on commit 92cf0f0

Please sign in to comment.