Skip to content

Commit 3a4a5ba

Browse files
authored
Merge pull request #118 from JRaspass/master
Replace Travis CI with GitHub Actions
2 parents a90c0a2 + 9458243 commit 3a4a5ba

File tree

4 files changed

+49
-24
lines changed

4 files changed

+49
-24
lines changed

.github/workflows/test.yml

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Test
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
push:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
os: [ ubuntu-latest ]
17+
18+
perl: [
19+
'5.8',
20+
'5.10', '5.12', '5.14', '5.16', '5.18',
21+
'5.20', '5.22', '5.24', '5.26', '5.28',
22+
'5.30', '5.32', '5.34', '5.36', '5.38',
23+
'5.40',
24+
]
25+
26+
threads: [ false, true ]
27+
28+
runs-on: ${{ matrix.os }}
29+
30+
name: ${{ matrix.perl }}${{ matrix.threads && '-threads' || '' }}
31+
32+
steps:
33+
- uses: actions/checkout@v4
34+
35+
- uses: shogo82148/actions-setup-perl@v1
36+
with:
37+
multi-thread: ${{ matrix.threads }}
38+
perl-version: ${{ matrix.perl }}
39+
40+
- run: perl -V
41+
42+
# TODO It would be nice if we had a cpanfile.
43+
- run: cpanm --notest --skip-satisfied Test::Simple~0.90
44+
45+
- run: perl Makefile.PL
46+
47+
- run: make test

.travis.yml

-22
This file was deleted.

MANIFEST.SKIP

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
^Makefile$
33
~$
44
^\.aspell\.local\.pws$
5-
^\.travis\.yml
65
^\.appveyor\.yml
76
^\.git
7+
^\.github
88
^\.gdbinit
99
^\.DS_Store
1010
\.html$

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# DBI - The Perl Database Interface.
22

3-
[![Build Status](https://secure.travis-ci.org/perl5-dbi/dbi.png)](http://travis-ci.org/perl5-dbi/dbi/)
3+
[![Build Status](https://github.com/perl5-dbi/dbi/workflows/Test/badge.svg)](https://github.com/perl5-dbi/dbi/actions)
44

55
See [COPYRIGHT](https://metacpan.org/module/DBI#COPYRIGHT)
66
section in DBI.pm for usage and distribution rights.

0 commit comments

Comments
 (0)