Skip to content

Commit 187fd2f

Browse files
committed
test against perl 5.40 on linux
1 parent 5537dc8 commit 187fd2f

File tree

1 file changed

+3
-124
lines changed

1 file changed

+3
-124
lines changed

.github/workflows/testsuite.yml

+3-124
Original file line numberDiff line numberDiff line change
@@ -9,141 +9,20 @@ on:
99
pull_request:
1010

1111
jobs:
12-
# first and fast job before trying any other jobs
13-
14-
ubuntu:
15-
env:
16-
PERL_USE_UNSAFE_INC: 0
17-
AUTHOR_TESTING: 1
18-
AUTOMATED_TESTING: 1
19-
# t/800_with_external/002-externals.t is currently failing
20-
RELEASE_TESTING: 0
21-
22-
runs-on: ubuntu-latest
23-
24-
steps:
25-
- uses: actions/checkout@v2
26-
- name: perl -V
27-
run: perl -V
28-
- name: install dependencies
29-
uses: perl-actions/install-with-cpm@stable
30-
with:
31-
cpanfile: cpanfile
32-
args: "--no-test --with-configure --with-develop --with-suggests"
33-
- name: Build.PL
34-
run: perl Build.PL
35-
- run: ./Build
36-
- run: ./Build test
37-
3812
linux:
39-
name: "linux ${{ matrix.perl-version }}"
40-
needs: [ubuntu]
41-
env:
42-
PERL_USE_UNSAFE_INC: 0
43-
AUTHOR_TESTING: 1
44-
AUTOMATED_TESTING: 1
45-
RELEASE_TESTING: 0
46-
4713
runs-on: ubuntu-latest
48-
4914
strategy:
50-
fail-fast: false
5115
matrix:
5216
perl-version:
53-
[
54-
"5.32",
55-
"5.30",
56-
"5.28",
57-
"5.26",
58-
"5.24",
59-
"5.22",
60-
"5.20",
61-
"5.18",
62-
"5.16",
63-
"5.14",
64-
"5.12",
65-
"5.10",
66-
]
67-
68-
# Test-DependentModules-0.27
69-
# Configuring MetaCPAN-Client-2.026000 ... Perl v5.10.0 required--this is only v5.8.9
70-
#"5.8",
17+
- "5.40"
7118
container:
7219
image: perl:${{ matrix.perl-version }}
73-
74-
steps:
75-
- uses: actions/checkout@v2
76-
- name: perl -V
77-
run: perl -V
78-
- name: install dependencies
79-
uses: perl-actions/install-with-cpanm@stable
80-
with:
81-
sudo: false
82-
cpanfile: "cpanfile"
83-
args: "-n --with-configure --with-develop --with-suggests"
84-
- name: Build.PL
85-
run: perl Build.PL
86-
- run: ./Build
87-
- run: ./Build test
88-
89-
macOS:
90-
needs: [ubuntu]
91-
env:
92-
PERL_USE_UNSAFE_INC: 0
93-
AUTHOR_TESTING: 1
94-
AUTOMATED_TESTING: 1
95-
RELEASE_TESTING: 0
96-
97-
runs-on: macOS-latest
98-
99-
strategy:
100-
fail-fast: false
101-
matrix:
102-
perl-version: [latest]
103-
104-
steps:
105-
- uses: actions/checkout@v1
106-
- name: perl -V
107-
run: perl -V
108-
- name: install dependencies
109-
uses: perl-actions/install-with-cpm@stable
110-
with:
111-
cpanfile: "cpanfile"
112-
args: "--no-test --with-configure --with-develop --with-suggests"
113-
- name: Build.PL
114-
run: perl Build.PL
115-
- run: ./Build
116-
- run: ./Build test
117-
118-
windows:
119-
needs: [ubuntu]
120-
env:
121-
PERL_USE_UNSAFE_INC: 0
122-
AUTHOR_TESTING: 0
123-
AUTOMATED_TESTING: 1
124-
RELEASE_TESTING: 0
125-
126-
runs-on: windows-latest
127-
128-
strategy:
129-
fail-fast: false
130-
matrix:
131-
perl-version: [latest]
132-
13320
steps:
134-
- uses: actions/checkout@master
135-
- name: Set up Perl
136-
run: |
137-
choco install strawberryperl
138-
echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" >> $GITHUB_PATH
21+
- uses: actions/checkout@v4
13922
- name: perl -V
14023
run: perl -V
14124
- name: install dependencies
142-
uses: perl-actions/install-with-cpanm@stable
143-
with:
144-
sudo: false
145-
cpanfile: cpanfile
146-
args: "-n --with-configure --with-develop --with-suggests"
25+
run: cpanm -nq --with-configure --with-develop --with-suggests --installdeps .
14726
- name: Build.PL
14827
run: perl Build.PL
14928
- run: ./Build

0 commit comments

Comments
 (0)