Skip to content

v3.0.2

v3.0.2 #47

Workflow file for this run

name: test
on:
pull_request:
push:
paths-ignore:
- 'Changes'
- 'README'
- '.editorconfig'
- '**.md'
- '**.pod'
env:
CI: true
jobs:
skip-duplicate-runs:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@f75f66ce1886f00957d99748a42c724f4330bdcf
with:
concurrent_skipping: 'same_content'
paths: '["**/*.{h,xs,pm,t,PL}"]'
test:
needs: skip-duplicate-runs
if: ${{ needs.skip-duplicate-runs.outputs.should_skip != 'true' }}
name: 'Perl v${{ matrix.perl }} on ${{ matrix.os }}'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
perl: ['5.8', '5.10', '5.20', '5.30', '5.38']
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 }}
- run: perl -V
# this also upgrades ExtUtils::MakeMaker to the latest version
- run: cpanm --notest Test::Pod
- run: cpanm --installdeps --notest .
- run: perl Makefile.PL
- run: make test