Try creating the codecov report on Api level 30 since some test cases are running on this api level like testing the WifiHotspot, ShowingPlayStoreRestriction in HelpFragment, etc.

This commit is contained in:
MohitMaliFtechiz 2024-09-04 16:55:12 +05:30
parent 95ade4b28c
commit 16cbe2a1e0

View File

@ -117,18 +117,18 @@ jobs:
path: screencap.png
- name: create unit coverage
if: ${{ matrix.api-level==25 }}
if: ${{ matrix.api-level==30 }}
run: ./gradlew testDebugUnitTest testCustomexampleDebugUnitTest
- name: Upload coverage to Codecov
if: ${{ matrix.api-level==25 }}
if: ${{ matrix.api-level==30 }}
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload Coverage to GH-Actions
uses: actions/upload-artifact@v3
if: ${{ matrix.api-level==25 }}
if: ${{ matrix.api-level==30 }}
with:
name: Tests Coverage Report
path: |