mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
Updated to MacOS 11, added Google API & added Pixel 2 Profile
Changed the Script Reverted all changes and added google APIs and removed gradle run Added gradle run
This commit is contained in:
parent
2125e0bf99
commit
a567974ad2
16
.github/workflows/coverage.yml
vendored
16
.github/workflows/coverage.yml
vendored
@ -16,8 +16,9 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
api-level: [21,30]
|
||||
target: [ google_apis ]
|
||||
fail-fast: false
|
||||
runs-on: macos-10.15
|
||||
runs-on: macos-11
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v3
|
||||
@ -32,12 +33,12 @@ jobs:
|
||||
- name: Restore Cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
|
||||
- name: create instrumentation coverage
|
||||
uses: ReactiveCircus/android-emulator-runner@v2.23.0
|
||||
@ -46,6 +47,7 @@ jobs:
|
||||
with:
|
||||
api-level: ${{ matrix.api-level }}
|
||||
arch: x86_64
|
||||
profile: pixel_2
|
||||
ndk: 21.4.7075529
|
||||
sdcard-path-or-size: '1000M'
|
||||
disable-animations: false
|
||||
|
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
api-level: [21, 22, 23, 24, 25, 27, 28, 30]
|
||||
target: [google_apis]
|
||||
fail-fast: false
|
||||
runs-on: macos-latest
|
||||
runs-on: macos-11
|
||||
steps:
|
||||
|
||||
- name: checkout
|
||||
|
@ -49,6 +49,7 @@ task jacocoInstrumentationTestReport(type: JacocoReport, dependsOn: ['createDebu
|
||||
kotlinSrc << "$proj.projectDir/src/main/kotlin"
|
||||
execution << fileTree(dir: proj.buildDir,
|
||||
includes: ['jacoco/testDebugUnitTest.exec',
|
||||
'outputs/code-coverage/connected/*coverage.ec',
|
||||
'outputs/code_coverage/debugAndroidTest/connected/**/*.ec'])
|
||||
}
|
||||
sourceDirectories.from = files(javaSrc, kotlinSrc)
|
||||
|
Loading…
x
Reference in New Issue
Block a user