Skip to content

Commit

Permalink
Drop Perl coverage
Browse files Browse the repository at this point in the history
The uploader we were using no longer works for Perl
coverage, and since we are no longer developing
the Perl frontend anyway, just drop Perl coverage.
  • Loading branch information
benmwebb committed Feb 17, 2022
1 parent f93373f commit 0f50abc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,10 @@ jobs:
run: |
sudo apt-get -qq update && sudo apt-get install -y libtest-exception-perl libtest-output-perl libdevel-cover-perl acl cpanminus libcgi-pm-perl perl-doc
pip install codecov flask pytest-cov pytest-flake8 coverage scons
sudo cpanm --quiet --notest --skip-satisfied Devel::Cover::Report::Codecov
# Patch Devel::Cover::Report::Codecov to support GitHub Actions
# from https://github.com/codecov/codecov-perl/pull/41
reportdir=$(dirname $(perldoc -l Devel::Cover::Report::Codecov) )
curl https://github.com/codecov/codecov-perl/commit/75ac8c01b3cccbff0acc879467b3952cd9605210.patch > gha.patch && patch -p5 < gha.patch && sudo cp Codecov/Service/GitHub.pm $reportdir/Codecov/Service/GitHub.pm
- name: Test
run: |
scons python=$(which python) test
flake8 --exclude doc/conf.py,tools/reindent.py,examples .
py.test --cov=account/account --cov-branch --flake8 account
- name: Upload Python coverage to codecov
uses: codecov/codecov-action@v1
- name: Upload Perl coverage to codecov
run: |
cd test/frontend && cover -report codecov

0 comments on commit 0f50abc

Please sign in to comment.