-
Notifications
You must be signed in to change notification settings - Fork 3
47 lines (44 loc) · 1.09 KB
/
tester.yaml
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
name: CI
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
matrix-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
perl-version:
- "5.12.0"
- "5.26.0"
- "5.38.0"
name: Perl ${{ matrix.perl-version }}
steps:
- uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl-version }}
- uses: actions/checkout@v4
- name: Regular tests
run: |
cpanm --installdeps --notest .
perl Makefile.PL
make
make test
author-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
perl-version:
- 'latest'
container:
image: perldocker/perl-tester:${{ matrix.perl-version }} # https://hub.docker.com/r/perldocker/perl-tester
name: Author ${{ matrix.perl-version }}
steps:
- uses: actions/checkout@v4
- name: Prove with author tests
run: |
cpanm --installdeps .
RELEASE_TESTING=1 prove -vl t