File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Test
2+
3+ on :
4+ push :
5+ branches : ' *'
6+ pull_request :
7+ branches : ' *'
8+ workflow_dispatch :
9+
10+ jobs :
11+ perl-job :
12+ runs-on : ubuntu-latest
13+ strategy :
14+ fail-fast : false
15+ # TODO - make customizable via workflow_dispatch inputs
16+ matrix :
17+ perl-version :
18+ - ' 5.42'
19+ - ' 5.32'
20+ # - 'latest'
21+
22+ container :
23+ # https://hub.docker.com/r/perldocker/perl-tester
24+ image : perldocker/perl-tester:${{ matrix.perl-version }}
25+
26+ name : Perl ${{ matrix.perl-version }}
27+ steps :
28+ - uses : actions/checkout@v5
29+
30+ - name : Regular tests
31+ run : |
32+ cpanm --installdeps --notest .
33+ perl Makefile.PL
34+ make
35+ make test
36+
37+ - name : Prepare for release tests
38+ run : |
39+ cpanm --installdep .
40+ cpanm --notest Test::CheckManifest Test::Pod::Coverage Pod::Coverage Test::Pod
41+
42+ - name : Release tests
43+ env :
44+ RELEASE_TESTING : 1
45+ run : |
46+ perl Makefile.PL
47+ make
48+ make test
You can’t perform that action at this time.
0 commit comments