Merge pull request #49 from cpants/fix/treat_use536_as_use_warnings #4
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.36' ] | |
exclude: | |
- runner: windows-latest | |
perl: '5.36' | |
runs-on: ${{matrix.runner}} | |
name: OS ${{matrix.runner}} Perl ${{matrix.perl}} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up 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 --with-develop --notest . | |
# --with-configure | |
# --with-recommends, --with-suggests | |
- name: Run tests | |
#env: | |
# AUTHOR_TESTING: 1 | |
# RELEASE_TESTING: 1 | |
run: | | |
perl Makefile.PL | |
make | |
make test | |