Skip to content

Add reverse-string exercise #958

Add reverse-string exercise

Add reverse-string exercise #958

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.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
- 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'