Skip to content

Commit

Permalink
Revert "fix: Remove coverage for now" (#498)
Browse files Browse the repository at this point in the history
* Revert "fix: Remove coverage for now"

This reverts commit 85fe6a1.

* fix: Use local reporter to sent report to Codacy
  • Loading branch information
lolgab authored Mar 25, 2024
1 parent 85fe6a1 commit 4f67ee3
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,15 @@ workflows:
- run:
name: Aggregate coverage reports
command: sbt coverageAggregate
# - run:
# name: Send coverage report to Codacy
# # Specify only scala coverage reports, because coverage reporter is detecting coverage reports
# # for other languages that are not valid and are used on tests
# command: |
# bash <(curl -Ls https://coverage.codacy.com/get.sh) report -l Scala -r "**/cobertura*.xml"
- run:
name: Send coverage report to Codacy
# We send the report using the current revision of the reporter. This allows hotfixes to be deployed
# when the coverage-reporter is not working in production
#
# Specify only scala coverage reports, because coverage reporter is detecting coverage reports
# for other languages that are not valid and are used on tests
command: |
sbt "run report -l Scala -r \"**/cobertura*.xml\""
- run:
name: Clean coverage.sbt from cache
command: rm coverage.sbt
Expand Down

0 comments on commit 4f67ee3

Please sign in to comment.