Skip to content

Create a devcontainer for working on the repo (#744) #1114

Create a devcontainer for working on the repo (#744)

Create a devcontainer for working on the repo (#744) #1114

Workflow file for this run

name: Exercises
on:
- push
- pull_request
jobs:
job:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest']
perl: ['5.42', '5.40', '5.38']
distribution: ['default']
include:
- os: 'windows-latest'
perl: '5.42'
distribution: strawberry
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- name: Set up perl
uses: shogo82148/actions-setup-perl@a198315ec4e9244f206879ea7b63078003aec8a6
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 == 'Linux'
- name: Test with yath
run: yath test exercises/practice/*/.meta/solutions/ --jobs 2
if: runner.os == 'Linux'