Skip to content

Commit 662e615

Browse files
authored
Merge pull request #72 from okurz/fix/ci
CI: Update+fix+simplify
2 parents a4f231d + e7a8843 commit 662e615

1 file changed

Lines changed: 14 additions & 16 deletions

File tree

.github/workflows/ci-tests.yaml

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,28 @@
11
name: Unit and integration tests
2-
on:
3-
push:
4-
branches:
5-
- '*'
6-
pull_request:
7-
branches:
8-
- '*'
2+
on: [push, pull_request]
93
jobs:
104
build:
115
runs-on: ${{ matrix.os }}
126
strategy:
137
matrix:
148
os: [ubuntu-latest]
159
perl:
16-
- '5.16'
17-
- '5.20'
18-
- '5.26'
19-
- '5.30'
20-
- latest
10+
- '5.16'
11+
- '5.20'
12+
- '5.26'
13+
- '5.30'
14+
- '5.34'
15+
- '5.38'
16+
- '5.40'
17+
- latest
2118
include:
2219
- os: macos-latest
2320
perl: '5.26'
2421
- os: macos-latest
2522
perl: latest
2623
name: 🐪 Perl ${{ matrix.perl }} on ${{ matrix.os }}
2724
steps:
28-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v4
2926
- uses: shogo82148/actions-setup-perl@v1
3027
with:
3128
perl-version: ${{ matrix.perl }}
@@ -36,13 +33,14 @@ jobs:
3633
cpanm --with-feature=ci --installdeps --notest .
3734
perl Build.PL
3835
./Build build
39-
- name: Run tests
36+
- name: Run tests
4037
run: |
4138
TEST_SHARED=1 TEST_SUBREAPER=1 cover -test -report codecovbash
4239
- name: Upload coverage to ☂️ Codecov
43-
uses: codecov/codecov-action@v3
44-
if: matrix.perl == '5.30'
40+
uses: codecov/codecov-action@v5
41+
if: matrix.perl == 'latest'
4542
with:
43+
token: ${{ secrets.CODECOV_TOKEN }}
4644
file: cover_db/codecov.json
4745
fail_ci_if_error: true
4846
verbose: true

0 commit comments

Comments
 (0)