Skip to content

Commit b8bc900

Browse files
authored
Merge pull request #15 from Perl/oalders/pr-workflow
Add workflow to test cpanfile
2 parents ba64914 + 9daa63e commit b8bc900

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/test-cpanfile.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Install from cpanfile
3+
4+
on:
5+
pull_request:
6+
branches:
7+
- '*'
8+
jobs:
9+
test-job:
10+
runs-on: ubuntu-latest
11+
container:
12+
image: perl:${{ matrix.perl-version }}
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
perl-version:
17+
- '5.8'
18+
- '5.10'
19+
- '5.12'
20+
- '5.14'
21+
- '5.16'
22+
- '5.18'
23+
- '5.20'
24+
- '5.22'
25+
- '5.24'
26+
- '5.26'
27+
- '5.28'
28+
- '5.30'
29+
- '5.32'
30+
- 'latest'
31+
name: Perl ${{ matrix.perl-version }}
32+
steps:
33+
- uses: actions/checkout@v2
34+
- name: Install deps using cpm
35+
uses: perl-actions/install-with-cpm@v1
36+
with:
37+
cpanfile: 'cpanfile'
38+
sudo: false

0 commit comments

Comments
 (0)