From 83011cdbae27a4d5ec7903aafc8d8f3b5c20cdab Mon Sep 17 00:00:00 2001 From: David Carver Date: Thu, 12 Dec 2024 19:20:18 -0500 Subject: [PATCH] Enable CodeCov Reporting Add initial code cov reporting --- .github/workflows/android.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 1f0483f6..54e6de12 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -24,3 +24,12 @@ jobs: run: chmod +x gradlew - name: Build with Gradle run: ./gradlew clean jacocoTestReport + - name: Report Code Coverage + uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true # optional (default = false) + files: ./serenity-app/build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml + flags: unittests # optional + name: codecov-umbrella # optional + token: ${{ secrets.CODE_COV_SECRET }} + verbose: true # optional (default = false)