Skip to content

Move CI from Azure Pipelines to GitHub Actions #3

Move CI from Azure Pipelines to GitHub Actions

Move CI from Azure Pipelines to GitHub Actions #3

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
test-matrix:
name: ${{ matrix.platform.os-name }} with Perl ${{ matrix.perl-version }}
runs-on: ${{ matrix.platform.runs-on }}
strategy:
fail-fast: false
matrix:
platform:
- os-name: Linux
runs-on: ubuntu-24.04
perl-version:
- "5.40"
# - 5.14
steps:
- uses: actions/checkout@v4
- uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl-version }}
- name: Install Dist::Zilla and Test::Harness
run: cpm install --global Dist::Zilla Test::Harness
- name: Install author deps
run: cpm install --global $(dzil authordeps)
- name: Install module deps
run: cpm install --global $(dzil listdeps --all)
- name: Run tests
run: dzil test --all