Skip to content

Commit 4f67ee3

Browse files
authored
Revert "fix: Remove coverage for now" (#498)
* Revert "fix: Remove coverage for now" This reverts commit 85fe6a1. * fix: Use local reporter to sent report to Codacy
1 parent 85fe6a1 commit 4f67ee3

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

‎.circleci/config.yml‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,15 @@ workflows:
227227
- run:
228228
name: Aggregate coverage reports
229229
command: sbt coverageAggregate
230-
# - run:
231-
# name: Send coverage report to Codacy
232-
# # Specify only scala coverage reports, because coverage reporter is detecting coverage reports
233-
# # for other languages that are not valid and are used on tests
234-
# command: |
235-
# bash <(curl -Ls https://coverage.codacy.com/get.sh) report -l Scala -r "**/cobertura*.xml"
230+
- run:
231+
name: Send coverage report to Codacy
232+
# We send the report using the current revision of the reporter. This allows hotfixes to be deployed
233+
# when the coverage-reporter is not working in production
234+
#
235+
# Specify only scala coverage reports, because coverage reporter is detecting coverage reports
236+
# for other languages that are not valid and are used on tests
237+
command: |
238+
sbt "run report -l Scala -r \"**/cobertura*.xml\""
236239
- run:
237240
name: Clean coverage.sbt from cache
238241
command: rm coverage.sbt

0 commit comments

Comments
 (0)