Skip to content

Travis-CI -> Github Actions #1

Travis-CI -> Github Actions

Travis-CI -> Github Actions #1

Workflow file for this run

name: CI Tests
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
- version: [5.30, 5.32, 5.34, 5.36]

Check failure on line 11 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI Tests

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 11, Col: 9): A sequence was not expected .github/workflows/ci.yml (Line: 13, Col: 10): Unexpected value 'PERL_CPANM_OPT="--notest --force --skip-satisfied"'
env: PERL_CPANM_OPT="--notest --force --skip-satisfied"
name: Perl ${{ matrix.version }}
steps:
- uses: actions/checkout@v3
- name: Set up perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.version }}
install-modules-with: cpanm
- name: Install module
run: |
cpanm Dist::Zilla
dzil authordeps | xargs cpanm
export tmpbuild=$(mktemp --directory)
dzil build --in $tmpbuild
cpanm --quiet --notest Devel::Cover::Report::Coveralls
dzil listdeps | xargs cpanm
dzil test --author
- name: Tests
run: |
PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine prove -lrsv t
- name: Coverall report
run: cover -report coveralls