Move CI from Azure Pipelines to GitHub Actions #1
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: dzil authordeps | cpm install --global | |
- name: Install module deps | |
run: dzil listdeps --all | cpm install --global | |
- name: Run tests | |
run: dzil test --all |