Skip to content

Commit

Permalink
Upload coverage without using orb
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Apr 27, 2024
1 parent 854ae40 commit 7b2a96b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Use the latest 2.1 version of CircleCI pipeline process engine. See:
# https://circleci.com/docs/2.0/configuration-reference
version: 2.1
orbs:
codecov: codecov/codecov@4.1.0
# Orchestrate or schedule a set of jobs
workflows:
docker-compose:
Expand Down Expand Up @@ -51,7 +49,7 @@ jobs:
- run:
command: |
pushd metacpan-docker
docker-compose exec -T api_test cpm install -g Devel::Cover
docker-compose exec -T api_test cpm install -g Devel::Cover Devel::Cover::Report::Codecov Devel::Cover::Report::Codecovbash
name: install Devel::Cover
- run:
command: |
Expand All @@ -63,6 +61,11 @@ jobs:
pushd metacpan-docker
docker-compose exec -T api_test cover
name: generate coverage report
- run:
command: |
pushd metacpan-docker
docker-compose exec -T api_test cover -report codecov
name: upload coverage report
- run:
command: |
pushd metacpan-docker
Expand All @@ -71,4 +74,3 @@ jobs:
docker ps -a | head
name: docker-compose logs
when: on_fail
- codecov/upload

0 comments on commit 7b2a96b

Please sign in to comment.