Skip to content

Commit

Permalink
Enable code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Apr 27, 2024
1 parent cf7f0cf commit 32afe30
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
# 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 @@ -47,7 +50,8 @@ jobs:
- run:
command: |
pushd metacpan-docker
docker-compose exec -T api_test prove -lr --jobs 2 t
docker-compose exec -T api_test env HARNESS_PERL_SWITCHES=-MDevel::Cover prove -lr --jobs 2 t
cover
- run:
command: |
pushd metacpan-docker
Expand All @@ -56,3 +60,4 @@ jobs:
docker ps -a | head
name: docker-compose logs
when: on_fail
- codecov/upload
1 change: 1 addition & 0 deletions cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ requires 'DateTime::Format::ISO8601';
requires 'DBD::SQLite', '1.66';
requires 'DBI', '1.643';
requires 'Devel::ArgNames';
requires 'Devel::Cover';
requires 'Digest::MD5';
requires 'Digest::SHA';
requires 'ElasticSearchX::Model', '2.0.1';
Expand Down

0 comments on commit 32afe30

Please sign in to comment.