Skip to content

Commit

Permalink
[#185] Codecov & Codacy merged reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaozhan committed Feb 5, 2022
1 parent 3e0323b commit 22986b4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,19 @@ jobs:
java-version: 11

- name: Gradle Build
run: ./gradlew build --parallel
run: ./gradlew build koverMergedXmlReport --parallel

- name: Upload to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ad/build/reports/kover/report.xml,analytics/build/reports/kover/report.xml,config/build/reports/kover/report.xml,android/build/reports/kover/report.xml,backend/build/reports/kover/report.xml,basemob/basemob/build/reports/kover/report.xml,billing/build/reports/kover/report.xml,client/build/reports/kover/report.xml,common/build/reports/kover/report.xml,logmob/logmob/build/reports/kover/report.xml,parsermob/parsermob/build/reports/kover/report.xml,scopemob/scopemob/build/reports/kover/report.xml
files: build/reports/kover/report.xml

- name: Upload to Codacy
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: ad/build/reports/kover/report.xml,analytics/build/reports/kover/report.xml,config/build/reports/kover/report.xml,android/build/reports/kover/report.xml,backend/build/reports/kover/report.xml,basemob/basemob/build/reports/kover/report.xml,billing/build/reports/kover/report.xml,client/build/reports/kover/report.xml,common/build/reports/kover/report.xml,logmob/logmob/build/reports/kover/report.xml,parsermob/parsermob/build/reports/kover/report.xml,scopemob/scopemob/build/reports/kover/report.xml
coverage-reports: build/reports/kover/report.xml

- name: Set Job Status
id: status
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ object Versions {
const val BUILD_KONFIG = "0.11.0"
const val WORK_RUNTIME = "2.7.1"
const val SPLASH_SCREEN = "1.0.0-alpha02"
const val KOVER = "0.4.4"
const val KOVER = "0.5.0"
const val HUAWEI_HSM_BASE = "6.3.0.303"
const val ROOT_BEER = "0.1.0"
const val MOCKATIVE = "1.1.4"
Expand Down
2 changes: 1 addition & 1 deletion scopemob

0 comments on commit 22986b4

Please sign in to comment.