Skip to content

make callbackery work better on mobile #389

make callbackery work better on mobile

make callbackery work better on mobile #389

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- master
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
strategy:
matrix:
os:
- ubuntu-20.04
# no libssl on windows
# - windows-latest
perl:
- '5.30'
- '5.32'
fail-fast: false
name: perl${{ matrix.perl }}/${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}
- name: CPAN Cache
id: cpan-cache
uses: actions/cache@v1
with:
path: thirdparty
key: ${{ matrix.os }}-cpan-${{ matrix.perl }}-${{ hashFiles('Makefile.PL') }}
- name: Install Coveralls
run: |
cpanm --notest Devel::Cover::Report::Coveralls
- name: Build
run: |
perl Makefile.PL
if make thirdparty; then
:
else
cat thirdparty/work/*/build.log
exit 1
fi
- name: Test
run: |
env COVERALLS_REPO_TOKEN=${{ secrets.GITHUB_TOKEN }} cover -test -report coveralls