-
Notifications
You must be signed in to change notification settings - Fork 581
41 lines (41 loc) · 1.02 KB
/
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
33
34
35
36
37
38
39
40
41
name: linux
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
jobs:
perl:
runs-on: ubuntu-latest
strategy:
matrix:
codename:
- buster
perl-version:
- '5.16'
- '5.18'
- '5.20'
- '5.22'
- '5.30'
- '5.36'
- '5.40'
container:
image: perl:${{ matrix.perl-version }}-${{ matrix.codename }}
steps:
- uses: actions/checkout@v2
- name: perl -V
run: perl -V
- name: Fix ExtUtils::MakeMaker (for Perl 5.16 and 5.18)
run: cpanm -n App::cpanminus ExtUtils::MakeMaker
- name: Install dependencies
run: |
cpanm -n --installdeps .
cpanm -n Cpanel::JSON::XS EV Role::Tiny CryptX
cpanm -n Test::Pod Test::Pod::Coverage TAP::Formatter::GitHubActions
- name: Run tests
run: prove --merge --formatter TAP::Formatter::GitHubActions -l t t/mojo t/mojolicious
env:
TEST_POD: 1
TEST_EV: 1