-
Notifications
You must be signed in to change notification settings - Fork 75
59 lines (50 loc) · 1.08 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: CI Tests
on:
push:
pull_request:
jobs:
test:
strategy:
matrix:
perl: ["5.16", "5.32"]
fail-fast: false
runs-on: ubuntu-latest
services:
redis:
image: redis
ports:
- 6379:6379
steps:
- uses: actions/checkout@v4
- uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}
- run: cpanm --installdeps -n -f .
- run: prove -lv t
perl_tester:
runs-on: ubuntu-latest
strategy:
matrix:
os: ["ubuntu-latest"]
perl-version:
- "5.16"
- "5.26"
- "5.32"
fail-fast: false
services:
redis:
image: redis
ports:
- 6379:6379
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install Perl Modules with cpanm
uses: perl-actions/install-with-cpanm@v1
continue-on-error: true
with:
install: |
Regexp::Common
- run: sudo cpanm --installdeps -n -f .
- run: prove -lv t