-
Notifications
You must be signed in to change notification settings - Fork 9
52 lines (42 loc) · 961 Bytes
/
test.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
name: Test
'on':
push:
branches:
- "**"
paths-ignore:
- Changes
- '**.md'
pull_request:
branches:
- main
paths-ignore:
- Changes
- '**.md'
schedule:
- cron: '17 8 5 * *'
workflow_dispatch:
env:
AUTHOR_TESTING: 0
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
jobs:
test:
name: test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
perl_version:
- latest
- "5.34"
- "5.30"
- "5.24"
steps:
- uses: actions/checkout@v3
- uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl_version }}
- run: cpm install --show-build-log-on-failure Dist::Zilla
- run: dzil authordeps --missing | cpm install --show-build-log-on-failure -
- run: dzil listdeps --missing | cpm install --show-build-log-on-failure -
- run: dzil test