Use test_requires #114
Workflow file for this run
This file contains 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: CI | |
on: | |
push: | |
branches: ['*'] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [[π§, ubuntu], [π, macos]] # [πͺ, windows] | |
perl: [ '5.38', '5.36', '5.34', '5.32', '5.30', '5.28', '5.26', '5.24', '5.22', '5.20', '5.18', '5.16', '5.14' ] | |
name: π§ Perl ${{ matrix.perl }} on ${{ matrix.os[0] }} ${{ matrix.os[1] }} | |
runs-on: ${{ matrix.os[1] }}-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Perl ${{ matrix.perl }} | |
uses: shogo82148/actions-setup-perl@v1 | |
with: { perl-version: "${{ matrix.perl }}" } | |
- name: Install Dependencies | |
run: cpanm -vn Module::Build && cpanm -vn --installdeps --with-recommends . | |
- name: Run Tests | |
run: perl Build.PL ./Build && ./Build test |