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 88f3edb commit 7735e4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 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/[email protected]
# Orchestrate or schedule a set of jobs
workflows:
docker-compose:
Expand Down Expand Up @@ -47,7 +50,7 @@ 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
- run:
command: |
pushd metacpan-docker
Expand All @@ -56,3 +59,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 7735e4f

Please sign in to comment.