Don't back out - it will create it #180
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
--- | |
# See https://github.com/actions/virtual-environments | |
# https://github.com/marketplace/actions/setup-perl-environment | |
name: Test Code | |
on: | |
push: | |
branches: | |
- '*' | |
tags-ignore: | |
- '*' | |
pull_request: | |
schedule: | |
- cron: '22 23 3 * *' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-22.04 | |
- ubuntu-20.04 | |
- windows-2022 | |
- windows-2019 | |
perl: ['5.36', '5.34', '5.32', '5.30', '5.28', '5.22'] | |
name: Perl ${{ matrix.perl }} on ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup perl | |
uses: shogo82148/actions-setup-perl@v1 | |
with: | |
perl-version: ${{ matrix.perl }} | |
- run: perl -V | |
- name: Install Dependencies | |
run: | | |
cpanm -iqn ExtUtils::MakeMaker Test::Most Clone | |
cpanm -iqnf --skip-satisfied LWP::Simple::WithCache CGI::IDS | |
cpanm -iqn --skip-satisfied HTML::Entities | |
cpanm -ivn --installdeps . | |
- name: Make Module | |
run: | | |
find . -name build.log | xargs cat | |
perl Makefile.PL | |
make | |
- name: Run Tests | |
run: prove -l -b t | |
env: | |
AUTHOR_TESTING: 1 | |
AUTOMATED_TESTING: 1 |