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:
MohitMali 2023-07-27 19:16:02 +05:30
parent 6655ad6c69
commit c83fc0dae9

View File

@ -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: |