Skip to content

Commit

Permalink
Simplify CI workflow
Browse files Browse the repository at this point in the history
Avoid running macOS and Windows workflow.
  • Loading branch information
atoomic authored and geofffranks committed Apr 26, 2024
1 parent 1801372 commit 6724a30
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 129 deletions.
50 changes: 0 additions & 50 deletions .github/workflows/linux.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/macos.yml

This file was deleted.

80 changes: 80 additions & 0 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: testsuite

on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:

jobs:

# a cheap and easy job to avoid checking all Perl versions
ubuntu:
env:
PERL_USE_UNSAFE_INC: 0
AUTHOR_TESTING: 1
AUTOMATED_TESTING: 1
RELEASE_TESTING: 1

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- run: perl -V
- name: install dependencies
uses: perl-actions/install-with-cpm@v1.8
with:
install: |
Carp
Module::Build
Scalar::Util
SUPER
Test::More
Test::Warnings
- run: perl Build.PL
- run: ./Build
- run: ./Build test

perl:
env:
# some plugins still needs this to run their tests...
PERL_USE_UNSAFE_INC: 0
AUTHOR_TESTING: 1
AUTOMATED_TESTING: 1
RELEASE_TESTING: 1

runs-on: ubuntu-latest

needs: [ubuntu]

strategy:
fail-fast: false
matrix:
perl-version:
- '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'
- '5.12'
- '5.10'

container:
image: perldocker/perl-tester:${{ matrix.perl-version }}

steps:
- uses: actions/checkout@v4
- run: perl -V
- run: perl Build.PL
- run: ./Build
- run: ./Build test
42 changes: 0 additions & 42 deletions .github/workflows/windows.yml

This file was deleted.

0 comments on commit 6724a30

Please sign in to comment.