diff --git a/.circleci/config.yml b/.circleci/config.yml index 0aa915976..9a883d851 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,9 +30,9 @@ jobs: - run: name: run tests with coverage command: | - docker compose --profile test run --env HARNESS_PERL_SWITCHES=-MDevel::Cover -v ./cover_db:/app/cover_db/ api-test bash -c 'prove -lr -j4 t && cover -report json' + docker compose --profile test run --env HARNESS_PERL_SWITCHES=-MDevel::Cover -v ./cover_db:/app/cover_db/ api-test bash -c 'prove -lr -j4 t && cover -report codecovbash' # We are relying on environment variables from the host to be available when # we publish the report, so we publish from the host rather than trying # to propagate env variables to the container. - codecov/upload: - file: cover_db/cover.json + file: cover_db/codecov.json diff --git a/cpanfile b/cpanfile index e647fcde6..dd1d4513f 100644 --- a/cpanfile +++ b/cpanfile @@ -162,4 +162,5 @@ on develop => sub { requires 'PPIx::Regexp', '0.085'; # Perl::Critic requires 'String::Format', '1.18'; # Perl::Critic requires 'Devel::Cover'; + requires 'Devel::Cover::Report::Codecovbash'; };