Skip to content

Commit 6724a30

Browse files
atoomicgeofffranks
authored andcommitted
Simplify CI workflow
Avoid running macOS and Windows workflow.
1 parent 1801372 commit 6724a30

File tree

4 files changed

+80
-129
lines changed

4 files changed

+80
-129
lines changed

.github/workflows/linux.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/workflows/macos.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/testsuite.yml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
name: testsuite
2+
3+
on:
4+
push:
5+
branches:
6+
- '*'
7+
tags-ignore:
8+
- '*'
9+
pull_request:
10+
11+
jobs:
12+
13+
# a cheap and easy job to avoid checking all Perl versions
14+
ubuntu:
15+
env:
16+
PERL_USE_UNSAFE_INC: 0
17+
AUTHOR_TESTING: 1
18+
AUTOMATED_TESTING: 1
19+
RELEASE_TESTING: 1
20+
21+
runs-on: ubuntu-latest
22+
23+
steps:
24+
- uses: actions/checkout@v4
25+
- run: perl -V
26+
- name: install dependencies
27+
uses: perl-actions/[email protected]
28+
with:
29+
install: |
30+
Carp
31+
Module::Build
32+
Scalar::Util
33+
SUPER
34+
Test::More
35+
Test::Warnings
36+
- run: perl Build.PL
37+
- run: ./Build
38+
- run: ./Build test
39+
40+
perl:
41+
env:
42+
# some plugins still needs this to run their tests...
43+
PERL_USE_UNSAFE_INC: 0
44+
AUTHOR_TESTING: 1
45+
AUTOMATED_TESTING: 1
46+
RELEASE_TESTING: 1
47+
48+
runs-on: ubuntu-latest
49+
50+
needs: [ubuntu]
51+
52+
strategy:
53+
fail-fast: false
54+
matrix:
55+
perl-version:
56+
- '5.38'
57+
- '5.36'
58+
- '5.34'
59+
- '5.32'
60+
- '5.30'
61+
- '5.28'
62+
- '5.26'
63+
- '5.24'
64+
- '5.22'
65+
- '5.20'
66+
- '5.18'
67+
- '5.16'
68+
- '5.14'
69+
- '5.12'
70+
- '5.10'
71+
72+
container:
73+
image: perldocker/perl-tester:${{ matrix.perl-version }}
74+
75+
steps:
76+
- uses: actions/checkout@v4
77+
- run: perl -V
78+
- run: perl Build.PL
79+
- run: ./Build
80+
- run: ./Build test

.github/workflows/windows.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)