Skip to content

Commit

Permalink
Merge pull request #2 from guest20/patch-2
Browse files Browse the repository at this point in the history
[chore] run the tests on github
  • Loading branch information
s1037989 committed Nov 19, 2023
2 parents b98a95c + 08ccef9 commit 4cdb884
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# https://raw.githubusercontent.com/mojolicious/mojo/main/.github/workflows/linux.yml
name: linux
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
jobs:
perl:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
perl-version:
# - '5.14' # Mojolyst says five fouteen is fine, but mojo doesn't install there on github workers
- '5.32'
- '5.16'
# - '5.18'
# - '5.20'
# - '5.22'
# - '5.30'
container:
image: perl:${{ matrix.perl-version }}
steps:
- uses: actions/checkout@v2
- name: perl -V
run: perl -V
- name: Fix ExtUtils::MakeMaker (for Perl 5.16 and 5.18)
run: cpanm -n App::cpanminus ExtUtils::MakeMaker
- name: Install dependencies
run: |
cpanm -n --installdeps .
- name: Run tests
run: prove --verbose -l t
env:
TEST_POD: 1
TEST_EV: 1

0 comments on commit 4cdb884

Please sign in to comment.