File tree Expand file tree Collapse file tree 2 files changed +57
-10
lines changed
Expand file tree Collapse file tree 2 files changed +57
-10
lines changed Original file line number Diff line number Diff line change 1+ name : perl
2+ on :
3+ push :
4+ branches :
5+ - ' *'
6+ tags-ignore :
7+ - ' *'
8+ pull_request :
9+ jobs :
10+ ubuntu :
11+ runs-on : ${{ matrix.os }}
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ os : [ubuntu-latest]
16+ perl-version : ['5.10', '5.14', '5.28']
17+ include :
18+ - perl-version : ' 5.32'
19+ os : ubuntu-latest
20+ more-test : true
21+ coverage : true
22+ container : perl:${{ matrix.perl-version }}
23+ steps :
24+ - uses : actions/checkout@v2
25+ - run : cpanm -n --installdeps .
26+ - run : perl -V
27+ - name : Run extended tests
28+ if : ${{ matrix.more-test }}
29+ run : |
30+ cpanm -n --installdeps --with-develop --with-recommends .
31+ - name : Run tests
32+ if : ${{ !matrix.coverage }}
33+ run : prove -l -j4 t
34+ - name : Run tests (with coverage)
35+ if : ${{ matrix.coverage }}
36+ env :
37+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38+ run : |
39+ cpanm -n Devel::Cover::Report::Coveralls
40+ HARNESS_OPTIONS='j4' cover -test -report Coveralls
41+ non-linux :
42+ runs-on : ${{ matrix.os }}
43+ strategy :
44+ fail-fast : false
45+ matrix :
46+ os : [macos-latest, windows-latest]
47+ steps :
48+ - uses : actions/checkout@v2
49+ - uses : shogo82148/actions-setup-perl@v1
50+ with :
51+ distribution : strawberry # ignored non-windows
52+ - uses : perl-actions/install-with-cpanm@v1
53+ with :
54+ args : -n --installdeps .
55+ - run : perl -V
56+ - name : Run tests
57+ run : prove -l -j4 t
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments