Skip to content

Commit

Permalink
Merge pull request #35 from maxmind/greg/gh-action
Browse files Browse the repository at this point in the history
Switch to GitHub Actions
  • Loading branch information
ugexe authored Sep 27, 2021
2 parents d05e74a + 6684d3b commit 49d4206
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 65 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Unit Tests

on:
push:
pull_request:
schedule:
- cron: '5 10 * * SUN'

jobs:

build:
strategy:
matrix:
perl-version:
- '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'
platform: ['ubuntu-latest']
runs-on: ${{ matrix.platform }}
name: "Build ${{ matrix.perl-version }} test on ${{ matrix.platform }}"
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl-version }}
install-modules-with: cpm
- run: sudo apt install libmaxminddb-dev
- run: perl Build.PL
- run: ./Build
- run: prove -blv t
65 changes: 0 additions & 65 deletions .travis.yml

This file was deleted.

0 comments on commit 49d4206

Please sign in to comment.