-
Notifications
You must be signed in to change notification settings - Fork 31
32 lines (28 loc) · 964 Bytes
/
linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
on: [push, pull_request]
name: Linux
jobs:
build:
runs-on: 'ubuntu-latest'
strategy:
fail-fast: false
matrix:
perl: [ '5.36', '5.30', '5.26', '5.22', '5.16', '5.12' ]
name: Perl ${{ matrix.perl }}
steps:
- name: check out code
uses: actions/checkout@v4
- name: switch to perl ${{ matrix.perl }}
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}
- name: run tests
env:
PERL_USE_UNSAFE_INC: 0
run: |
perl -v
cpanm --quiet --notest ExtUtils::MakeMaker Test::Pod Test::Pod::Coverage parent
cpanm --quiet --notest File::ShareDir::Install XML::XPath Data::CompactReadonly File::Find::Rule Spreadsheet::XLSX Text::CSV_XS LWP::Protocol::https
cpanm --quiet --notest --installdeps .
./build-data.sh
perl Makefile.PL
make test TEST_VERBOSE=1