Skip to content

Commit f004d58

Browse files
committed
Added a testing workflow
1 parent f7b61f3 commit f004d58

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/perltest.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the action will run. Triggers the workflow on push or pull request
6+
# events but only for the master branch
7+
on:
8+
push:
9+
branches: [ master ]
10+
pull_request:
11+
branches: [ master ]
12+
workflow_dispatch:
13+
14+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+
jobs:
16+
build:
17+
runs-on: ${{ matrix.os }}
18+
strategy:
19+
matrix:
20+
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
21+
perl: [ 'latest' ]
22+
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
23+
steps:
24+
- uses: actions/checkout@v2
25+
- name: Set up perl
26+
uses: shogo82148/actions-setup-perl@v1
27+
with:
28+
perl-version: ${{ matrix.perl }}
29+
- run: perl -V
30+
- run: cpanm --installdeps .
31+
- run: prove -lv t

0 commit comments

Comments
 (0)