Debian Codegraph @

.github/workflows/dzil_tester.yml

raw
1 name: CI test builds
2
3 on:
4 push:
5 branches: '*'
6 pull_request:
7 branches: '*'
8
9 jobs:
10 perl-job:
11 runs-on: ubuntu-latest
12 strategy:
13 fail-fast: false
14 matrix:
15 perl-version:
16 - 'devel'
17 - 'latest'
18 - '5.40'
19 - '5.38'
20 - '5.36'
21 - '5.34'
22 - '5.32'
23 - '5.30'
24 - '5.28'
25 - '5.26'
26 - '5.24'
27 - '5.22'
28 - '5.20'
29 - '5.18'
30 - '5.16'
31 include:
32 - perl-version: '5.38'
33 os: ubuntu-latest
34 coverage: true
35 container:
36 image: perldocker/perl-tester:${{ matrix.perl-version }}
37
38 name: Perl ${{ matrix.perl-version }}
39
40 steps:
41 - uses: actions/checkout@main
42 - name: Amend PATH
43 run: echo "${GITHUB_WORKSPACE}/t/bin" >> $GITHUB_PATH
44 - name: Current env
45 run: env
46 - name: Perl info
47 run: perl -V
48 - name: CPAN test modules
49 run: cpanm -n Pod::Coverage::TrustPod Test::Perl::Critic Test::Pod::Coverage Test::Pod Test::Trap
50 - name: CPAN build modules
51 run: cpanm -n Tk X11::Protocol X11::Protocol::Other
52 - name: Initial Build
53 run: perl Build.PL
54 - name: Build the MANIFEST
55 run: perl Build manifest
56 - name: Test suite
57 if: ${{ !matrix.coverage }}
58 run: perl Build test
59 env:
60 RELEASE_TESTING: 1
61 AUTHOR_TESTING: 1
62 - name: Coverage tests
63 if: ${{ matrix.coverage }}
64 run: perl Build test
65 env:
66 COVERAGE: 1
67 RELEASE_TESTING: 1
68 AUTHOR_TESTING: 1