Preserve functionality #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
# schedule: | |
# - cron: '42 5 * * *' | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
runner: [ubuntu-latest, macos-latest, windows-latest] | |
perl: [ '5.30', '5.38' ] | |
exclude: | |
- runner: windows-latest | |
perl: '5.38' | |
runs-on: ${{matrix.runner}} | |
name: OS ${{matrix.runner}} Perl ${{matrix.perl}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up perl v${{ matrix.perl }} | |
uses: shogo82148/actions-setup-perl@v1 | |
with: | |
perl-version: ${{ matrix.perl }} | |
distribution: ${{ ( matrix.runner == 'windows-latest' && 'strawberry' ) || 'default' }} | |
- name: Show Perl Version | |
run: | | |
perl -v | |
- name: Install Modules | |
run: | | |
cpanm -v | |
cpanm --installdeps --notest . | |
- name: Run tests | |
run: | | |
prove -lv t | |