From 66aef0d6675d5673d1112630f37ccb202f023104 Mon Sep 17 00:00:00 2001 From: Nigel Horne Date: Thu, 14 Mar 2024 09:19:25 -0400 Subject: [PATCH] Try coverage.yml --- .github/workflows/coverage.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/coverage.yml diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml new file mode 100644 index 0000000..a8d6d34 --- /dev/null +++ b/.github/workflows/coverage.yml @@ -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 }}