From ea2f0c7934a9489eabfd2770c229ba2d2164d9d0 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Wed, 20 Jan 2021 16:13:59 -0600 Subject: [PATCH] Use codecov action --- .github/workflows/tests.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 758f81412..a6899163d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,4 +16,9 @@ jobs: uses: reactivecircus/android-emulator-runner@v2 with: api-level: 29 - script: ./gradlew -Pcoverage :app:jacocoTestReportGoogleplayDebug :app:createGoogleplayDebugAndroidTestCoverageReport && bash <(curl -s https://codecov.io/bash) \ No newline at end of file + script: ./gradlew -Pcoverage :app:jacocoTestReportGoogleplayDebug :app:createGoogleplayDebugAndroidTestCoverageReport + - name: upload coverage + uses: codecov/codecov-action@v1 + directory: ./app/build + fail_ci_if_error: true + verbose: true \ No newline at end of file