mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
version change for jacoco and introduce codecov runner
This commit is contained in:
parent
32d672fd72
commit
afa6176b59
4
.github/workflows/coverage.yml
vendored
4
.github/workflows/coverage.yml
vendored
@ -39,7 +39,6 @@ jobs:
|
||||
ndk: 21.4.7075529
|
||||
script: bash contrib/instrumentation.sh
|
||||
|
||||
|
||||
- name: Upload screenshot result
|
||||
uses: actions/upload-artifact@v1
|
||||
if: failure()
|
||||
@ -53,8 +52,7 @@ jobs:
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
if: ${{ matrix.api-level==21 }}
|
||||
run: |
|
||||
bash <(curl -s https://codecov.io/bash)
|
||||
uses: codecov/codecov-action@v2
|
||||
|
||||
- name: Upload Coverage to GH-Actions
|
||||
uses: actions/upload-artifact@v2.2.0
|
||||
|
@ -14,7 +14,7 @@ repositories {
|
||||
dependencies {
|
||||
implementation("com.android.tools.build:gradle:7.1.0")
|
||||
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.21")
|
||||
implementation("com.hiya:jacoco-android:0.2")
|
||||
implementation("com.dicedmelon.gradle:jacoco-android:0.1.5")
|
||||
implementation("org.jlleitschuh.gradle:ktlint-gradle:10.3.0")
|
||||
implementation("com.google.apis:google-api-services-androidpublisher:v3-rev129-1.25.0")
|
||||
implementation("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.20.0")
|
||||
|
@ -37,7 +37,7 @@ class AllProjectConfigurer {
|
||||
target.plugins.apply("kotlin-android")
|
||||
target.plugins.apply("kotlin-android-extensions")
|
||||
target.plugins.apply("kotlin-kapt")
|
||||
target.plugins.apply("com.hiya.jacoco-android")
|
||||
target.plugins.apply("com.dicedmelon.gradle.jacoco-android")
|
||||
target.plugins.apply("org.jlleitschuh.gradle.ktlint")
|
||||
target.plugins.apply("io.gitlab.arturbosch.detekt")
|
||||
target.plugins.apply("androidx.navigation.safeargs")
|
||||
|
Loading…
x
Reference in New Issue
Block a user