-
-
Notifications
You must be signed in to change notification settings - Fork 52
40 lines (33 loc) · 1.13 KB
/
exercises.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Exercises
on:
- push
- pull_request
jobs:
job:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest']
perl: ['5.40', '5.38', '5.36', '5.34', '5.32', '5.30', '5.28', '5.26']
distribution: ['default']
include:
- os: 'windows-latest'
perl: '5.40'
distribution: strawberry
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Set up perl
uses: shogo82148/actions-setup-perl@98dfedee230bcf1ee68d5b021931fc8d63f2016e
with:
perl-version: ${{ matrix.perl }}
distribution: ${{ matrix.distribution }}
- run: cpm install -g Test2::V0 UUID Feature::Compat::Class Readonly
- name: Test with prove
run: prove exercises/practice/*/.meta/solutions/ --recurse --jobs 2
- run: cpm install -g App::Yath
if: runner.os != 'Windows'
- name: Test with yath
run: yath test exercises/practice/*/.meta/solutions/ --jobs 2
if: runner.os != 'Windows'