Skip to content

WIP: Adding tests for json_* subroutines in Test::Mojo. #1317

WIP: Adding tests for json_* subroutines in Test::Mojo.

WIP: Adding tests for json_* subroutines in Test::Mojo. #1317

Workflow file for this run

name: linux
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
jobs:
perl:
runs-on: ubuntu-latest
strategy:
matrix:
perl-version:
- '5.16'
- '5.18'
- '5.20'
- '5.22'
- '5.30'
- '5.36'
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 .
cpanm -n Cpanel::JSON::XS EV Role::Tiny
cpanm -n Test::Pod Test::Pod::Coverage TAP::Formatter::GitHubActions
- name: Run tests
run: prove --merge --formatter TAP::Formatter::GitHubActions -l t t/mojo t/mojolicious
env:
TEST_POD: 1
TEST_EV: 1