Skip to content

Commit

Permalink
Try coverage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Mar 14, 2024
1 parent 3653278 commit 66aef0d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
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 }}

0 comments on commit 66aef0d

Please sign in to comment.