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
42 changes: 37 additions & 5 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- "*"
pull_request:

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

jobs:
ubuntu:
env:
Expand All @@ -19,10 +23,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- run: perl -V
- name: install dependencies
uses: perl-actions/install-with-cpm@v1
uses: perl-actions/install-with-cpm@v1.9
with:
cpanfile: "cpanfile"
- name: Makefile.PL
Expand Down Expand Up @@ -63,10 +67,10 @@ jobs:
container: perldocker/perl-tester:${{ matrix.perl-version }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- run: perl -V
- name: install dependencies
uses: perl-actions/install-with-cpm@v1
uses: perl-actions/install-with-cpm@v1.9
with:
sudo: false
cpanfile: "cpanfile"
Expand All @@ -75,6 +79,34 @@ jobs:
- run: make test
- run: make install

macOS:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overkill imo

needs: [ubuntu]
env:
PERL_USE_UNSAFE_INC: 0
AUTHOR_TESTING: 1
AUTOMATED_TESTING: 1
RELEASE_TESTING: 1

runs-on: macOS-latest

strategy:
fail-fast: false
matrix:
XS: [y, n]

steps:
- uses: actions/checkout@v6
- run: perl -V
- name: install dependencies
uses: perl-actions/install-with-cpm@v1.9
with:
sudo: true
cpanfile: "cpanfile"
- name: Makefile.PL
run: perl Makefile.PL TT_XS_DEFAULT=${{ matrix.XS }} TT_XS_ENABLE=${{ matrix.XS }} TT_QUIET=n TT_ACCEPT=y
- run: make test
- run: sudo make install

plugins:
needs: [ubuntu,linux]
env:
Expand Down Expand Up @@ -118,7 +150,7 @@ jobs:
container: perl:${{ matrix.perl-version }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- run: perl -V
- name: Install cpm
run: cpanm -n App::cpm Carton::Snapshot
Expand Down