Fix menu buttons #447
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |