Move CI from Azure Pipelines to GitHub Actions #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |