From c83fc0dae98e6739463ee6f9b7c212661866fb25 Mon Sep 17 00:00:00 2001 From: MohitMali Date: Thu, 27 Jul 2023 19:16:02 +0530 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b9ed323e..e55487ee9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: |