Skip to content

Commit

Permalink
Refactor coveralls.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Aug 30, 2024
1 parent 46bd3ff commit 6892c14
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,24 @@ jobs:
image: perl:stable
steps:
- uses: actions/checkout@v4
- run: cpanm --quiet --notest --installdeps .
- run: cpanm --quiet --notest App::Yath Devel::Cover Devel::Cover::Report::Coveralls UUID
- run: PERL5OPT="-MDevel::Cover" yath test --qvf t/
- run: cover -report coveralls
# - run: cpanm --quiet --notest --installdeps .
# - run: cpanm --quiet --notest App::Yath Devel::Cover Devel::Cover::Report::Coveralls UUID
# - run: PERL5OPT="-MDevel::Cover" yath test --qvf t/
- name: Install Dependencies
run: |
cpanm --quiet --notest --installdeps .
cpanm --quiet --notest Module::Build Devel::Cover Devel::Cover::Report::Coveralls
- name: Build module
run: |
perl Makefile.PL
make
env:
AUTHOR_TESTING: 1
AUTOMATED_TESTING: 1
- name: Submit coveralls
run: |
cover -test
cover -report coveralls
# ./codecov -t ${{ secrets.COVERALLS_TOKEN }} -f cover_db/codecov.json
env:
GITHUB_TOKEN: ${{ secrets.COVERALLS_TOKEN }}

0 comments on commit 6892c14

Please sign in to comment.