Updating to 1.42 #104
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: Perl | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
runner: [ubuntu-latest, macos-latest] #, windows-latest] | |
perl: [ '5.32' ] | |
firefox: [ 'latest-beta', 'latest' ] # 'latest-devedition', 'latest-esr', | |
runs-on: ${{matrix.runner}} | |
name: OS ${{matrix.runner}} Perl ${{matrix.perl}} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Show available environment variables | |
run: | | |
set | |
- name: Set up firefox | |
uses: browser-actions/setup-firefox@latest | |
with: | |
firefox-version: ${{ matrix.firefox }} | |
- name: Show firefox version | |
run: | | |
firefox --version | |
- name: Set up perl | |
uses: shogo82148/actions-setup-perl@v1 | |
with: | |
perl-version: ${{ matrix.perl }} | |
install-modules: 'Archive::Zip Config::INI::Reader Crypt::URandom Encode File::Temp HTTP::Daemon IPC::Open3 JSON PDF::API2 Scalar::Util Text::CSV_XS Time::Local Term::ReadKey Test::CheckManifest URI URI::Escape URI::URL XML::Parser' | |
install-modules-with: cpanm | |
install-modules-args: --with-develop --with-configure | |
enable-modules-cache: true | |
distribution: ${{ ( startsWith( matrix.runner, 'windows-' ) && 'strawberry' ) || 'default' }} | |
- name: Show Perl Version | |
run: | | |
perl -v | |
- name: Install Modules | |
run: | | |
cpanm -v | |
cpanm --installdeps . | |
cpanm Test::CheckManifest | |
- name: Run tests | |
env: | |
RELEASE_TESTING: 1 | |
run: | | |
perl Makefile.PL | |
make | |
make test |