Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@ on:
- "*"
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build-job:
name: Build distribution
runs-on: ubuntu-latest
container:
image: perldocker/perl-tester:5.36
image: perldocker/perl-tester:5.42
steps:
- uses: actions/checkout@v7
- name: Run Tests
Expand All @@ -33,7 +37,7 @@ jobs:
needs: build-job
runs-on: ubuntu-latest
container:
image: perldocker/perl-tester:5.36
image: perldocker/perl-tester:5.42
steps:
- uses: actions/checkout@v7 # codecov wants to be inside a Git repository
- uses: actions/download-artifact@v8
Expand All @@ -48,6 +52,7 @@ jobs:
needs: build-job
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
perl-version:
Expand All @@ -66,6 +71,9 @@ jobs:
- "5.32"
- "5.34"
- "5.36"
- "5.38"
- "5.40"
- "5.42"
exclude:
- os: windows-latest
perl-version: "5.8"
Expand All @@ -92,9 +100,9 @@ jobs:
with:
name: build_dir
path: .
- name: install deps using cpm
uses: perl-actions/install-with-cpm@v2
- uses: perl-actions/setup-cpm@v1
with:
cpanfile: "cpanfile"
args: "--with-suggests --with-recommends --with-test"
version: compat
- name: install deps using cpm
run: cpm install -g --cpanfile cpanfile --with-suggests --with-recommends --with-test
- run: prove -lr t
Loading