File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -63,16 +63,11 @@ jobs:
6363 name : generate coverage report
6464 - run :
6565 command : |
66- pushd metacpan-docker
67- docker-compose exec -T \
68- -e CIRCLE_PROJECT_USERNAME="$CIRCLE_PROJECT_USERNAME" \
69- -e CIRCLE_PROJECT_REPONAME="$CIRCLE_PROJECT_REPONAME" \
70- -e CIRCLE_BUILD_NUM="$CIRCLE_BUILD_NUM" \
71- -e CIRCLE_NODE_INDEX="$CIRCLE_NODE_INDEX" \
72- -e CIRCLE_SHA1="$CIRCLE_SHA1" \
73- -e CIRCLE_BRANCH="$CIRCLE_BRANCH" \
74- -e CIRCLE_PR_NUMBER="$CIRCLE_PR_NUMBER" \
75- api_test cover -report codecov
66+ pushd metacpan-docker/src/metacpan-api
67+ sudo apt install cpanminus
68+ sudo cpanm --notest Devel::Cover Devel::Cover::Report::Codecov Devel::Cover::Report::Codecovbash
69+ sudo chown -R circleci.circleci cover_db
70+ cover -report codecov -ignore etc/metacpan.pl
7671 name : upload coverage report
7772 - run :
7873 command : |
You can’t perform that action at this time.
0 commit comments