mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Refactored ci to support minimum api level 24
* Since our minimum API level is now 24, we have updated our CI configuration to run on API level 24, which aligns with the minimum API level required for our project.
This commit is contained in:
parent
632bb4a528
commit
3e40c095a4
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
name: Automated tests
|
||||
strategy:
|
||||
matrix:
|
||||
api-level: [ 21, 30, 33 ]
|
||||
api-level: [ 24, 30, 33 ]
|
||||
fail-fast: false
|
||||
runs-on: macos-11
|
||||
steps:
|
||||
@ -79,16 +79,16 @@ jobs:
|
||||
path: screencap.png
|
||||
|
||||
- name: create unit coverage
|
||||
if: ${{ matrix.api-level==21 }}
|
||||
if: ${{ matrix.api-level==24 }}
|
||||
run: ./gradlew testDebugUnitTest testCustomexampleDebugUnitTest
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
if: ${{ matrix.api-level==21 }}
|
||||
if: ${{ matrix.api-level==24 }}
|
||||
uses: codecov/codecov-action@v3
|
||||
|
||||
- name: Upload Coverage to GH-Actions
|
||||
uses: actions/upload-artifact@v3
|
||||
if: ${{ matrix.api-level==21 }}
|
||||
if: ${{ matrix.api-level==24 }}
|
||||
with:
|
||||
name: Tests Coverage Report
|
||||
path: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user