Skip to content

Merge pull request #6 from choroba/2024 #19

Merge pull request #6 from choroba/2024

Merge pull request #6 from choroba/2024 #19

Workflow file for this run

name: CI
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
matrix-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
perl-version:
- "5.12.0"
- "5.26.0"
- "5.38.0"
name: Perl ${{ matrix.perl-version }}
steps:
- uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl-version }}
- uses: actions/checkout@v4
- name: Regular tests
run: |
cpanm --installdeps --notest .
perl Makefile.PL
make
make test
author-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
perl-version:
- 'latest'
container:
image: perldocker/perl-tester:${{ matrix.perl-version }} # https://hub.docker.com/r/perldocker/perl-tester
name: Author ${{ matrix.perl-version }}
steps:
- uses: actions/checkout@v4
- name: Prove with author tests
run: |
cpanm --installdeps .
RELEASE_TESTING=1 prove -vl t