Skip to content

Commit 5586c4e

Browse files
authored
Merge pull request #3 from richardc/add_ci_workflow
Add a testing workflow with github actions
2 parents f502590 + 4879c91 commit 5586c4e

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/perl-tests.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Perl Tests
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
9+
permissions: read-all
10+
11+
jobs:
12+
build:
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
os: ['ubuntu-latest']
17+
perl: [ '5.36', '5.34', '5.20' ]
18+
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
19+
steps:
20+
- uses: actions/checkout@v3
21+
- name: Set up perl
22+
uses: shogo82148/actions-setup-perl@v1
23+
with:
24+
perl-version: ${{ matrix.perl }}
25+
- run: perl -V
26+
- run: cpanm --installdeps .
27+
- run: prove -lv t

0 commit comments

Comments
 (0)