forked from Flimm/perl5-Data-MoneyCurrency
-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (30 loc) · 923 Bytes
/
ci.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
33
34
35
36
37
38
39
name: CI Tests
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
version: ['5.30', '5.32', '5.34', '5.36', '5.38', '5.40']
env:
PERL_CPANM_OPT: "--notest --force --skip-satisfied"
name: Perl ${{ matrix.version }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.version }}
install-modules-with: cpanm
- name: Install module
run: |
cpanm Dist::Zilla
dzil authordeps | xargs cpanm
export tmpbuild=$(mktemp --directory)
dzil build --in $tmpbuild
# cpanm --quiet --notest Devel::Cover::Report::Coveralls Perl::Critic
dzil listdeps | xargs cpanm
- name: Dzil tests
run: dzil test --author