File tree Expand file tree Collapse file tree 2 files changed +54
-29
lines changed Expand file tree Collapse file tree 2 files changed +54
-29
lines changed Original file line number Diff line number Diff line change
1
+ name : Run tests
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ test-matrix :
7
+ name : ${{ matrix.platform.os-name }} with Perl ${{ matrix.perl-version }}
8
+ runs-on : ${{ matrix.platform.runs-on }}
9
+ strategy :
10
+ fail-fast : false
11
+ matrix :
12
+ platform :
13
+ - os-name : Linux
14
+ runs-on : ubuntu-24.04
15
+
16
+ perl-version :
17
+ - " 5"
18
+ # - 5.14
19
+
20
+ steps :
21
+ - uses : actions/checkout@v4
22
+
23
+ - uses : shogo82148/actions-setup-perl@v1
24
+ with :
25
+ perl-version : ${{ matrix.perl-version }}
26
+ enable-modules-cache : false
27
+
28
+ - name : Install Dist::Zilla and Test::Harness
29
+ run : cpm install --global Dist::Zilla Test::Harness
30
+
31
+ - name : Generate list of author deps
32
+ run : dzil authordeps | grep -v '^inc::' > /tmp/dzil-authordeps.txt
33
+
34
+ - uses : actions/upload-artifact@v4
35
+ with :
36
+ name : " dzil-authordeps-${{matrix.platform.os-name}}-perl-${{ matrix.perl-version }}.txt"
37
+ path : /tmp/dzil-authordeps.txt
38
+
39
+ - name : Install author deps
40
+ run : cpm install --global $(cat /tmp/dzil-authordeps.txt)
41
+
42
+ - name : Generate list of module deps
43
+ run : dzil listdeps --develop | grep -v '^inc::' > /tmp/dzil-listdeps.txt
44
+
45
+ - uses : actions/upload-artifact@v4
46
+ with :
47
+ name : " dzil-listdeps-${{matrix.platform.os-name}}-perl-${{ matrix.perl-version }}.txt"
48
+ path : /tmp/dzil-listdeps.txt
49
+
50
+ - name : Install module deps
51
+ run : cpm install --global $(cat /tmp/dzil-listdeps.txt)
52
+
53
+ - name : Run tests
54
+ run : dzil test --all
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments