tweak e2e to run when perlbrew
is updated.
#311
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: coverage | |
on: | |
pull_request: | |
push: | |
branches: | |
- develop | |
jobs: | |
build: | |
runs-on: 'ubuntu-latest' | |
name: Coverage | |
container: | |
image: perl:stable | |
steps: | |
- uses: actions/checkout@v2 | |
- run: cpanm --quiet --notest --installdeps . | |
- run: cpanm --quiet --notest App::Yath Devel::Cover Devel::Cover::Report::Coveralls | |
- run: PERL5OPT=-MDevel::Cover yath test --qvf t/ | |
- run: cover -report coveralls | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |