blob: 7334fa74d3cc7691ea6a89adc4170af78864066f [file] [log] [blame]
name: CI Linux
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
perl: [ '5.38', '5.36' ]
name: Perl ${{ matrix.perl }}
steps:
- uses: actions/checkout@v3
- name: Setup Perl environment
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}
- run: perl -V
- name: Install dependencies
run: |
cpanm File::ShareDir::Install
cpanm --installdeps .
- name: Install
run: |
perl Makefile.PL
make install
- name: Run tests
run: prove -lr t