Skip to content

Add errstr to parse error output #35

Add errstr to parse error output

Add errstr to parse error output #35

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest']
perl: [ 'latest' ]
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}
- name: Perl version
run: perl -V
- name: Install packages
run: sudo apt-get update && sudo apt install libexpat1-dev make
- name: Install modules
run: cpanm --installdeps --notest .
- name: Run tests
run: prove -lv t
- name: Archive CPAN logs
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: cpan_log
path: .cpanm/work/*/build.log
retention-days: 5
coverage:
runs-on: ubuntu-latest
container: davorg/perl-coveralls:latest
name: Test coverage
steps:
- uses: actions/checkout@v4
- name: Install packages
run: apt-get update && apt install libexpat1-dev make
- name: Install modules
run: cpanm -n --installdeps .
- name: Coverage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: cover -test -report Coveralls
perlcritic:
uses: PerlToolsTeam/github_workflows/.github/workflows/cpan-perlcritic.yml@main
complexity:
uses: PerlToolsTeam/github_workflows/.github/workflows/cpan-complexity.yml@main