Skip to content

Commit

Permalink
Merge pull request #118 from JRaspass/master
Browse files Browse the repository at this point in the history
Replace Travis CI with GitHub Actions
  • Loading branch information
Tux authored Aug 13, 2024
2 parents a90c0a2 + 9458243 commit 3a4a5ba
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 24 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Test

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]

perl: [
'5.8',
'5.10', '5.12', '5.14', '5.16', '5.18',
'5.20', '5.22', '5.24', '5.26', '5.28',
'5.30', '5.32', '5.34', '5.36', '5.38',
'5.40',
]

threads: [ false, true ]

runs-on: ${{ matrix.os }}

name: ${{ matrix.perl }}${{ matrix.threads && '-threads' || '' }}

steps:
- uses: actions/checkout@v4

- uses: shogo82148/actions-setup-perl@v1
with:
multi-thread: ${{ matrix.threads }}
perl-version: ${{ matrix.perl }}

- run: perl -V

# TODO It would be nice if we had a cpanfile.
- run: cpanm --notest --skip-satisfied Test::Simple~0.90

- run: perl Makefile.PL

- run: make test
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion MANIFEST.SKIP
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
^Makefile$
~$
^\.aspell\.local\.pws$
^\.travis\.yml
^\.appveyor\.yml
^\.git
^\.github
^\.gdbinit
^\.DS_Store
\.html$
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DBI - The Perl Database Interface.

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

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

0 comments on commit 3a4a5ba

Please sign in to comment.