From e6e989f50afed676ed73541337da1f9ff9bf3164 Mon Sep 17 00:00:00 2001 From: Surbhi Maheshwari Date: Thu, 19 Oct 2023 14:13:29 -0700 Subject: [PATCH 1/2] Code coverage integration --- .github/workflows/main.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 98dba65b..ae1fa520 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -24,3 +24,6 @@ jobs: - name: Build and test run: touch ./local.properties; ./gradlew build javadoc --no-daemon + + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v3.1.4 From 4ad14533670d7d092d07ab724a6947a87cb48ad5 Mon Sep 17 00:00:00 2001 From: Surbhi Maheshwari Date: Mon, 23 Oct 2023 21:25:13 -0700 Subject: [PATCH 2/2] Made codecoverage to run on PR --- .github/workflows/main.yaml | 3 --- .github/workflows/pr.yaml | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index ae1fa520..98dba65b 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -24,6 +24,3 @@ jobs: - name: Build and test run: touch ./local.properties; ./gradlew build javadoc --no-daemon - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3.1.4 diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 3914429f..49638901 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -20,6 +20,8 @@ jobs: - name: Build and test run: touch ./local.properties; ./gradlew build javadoc --no-daemon + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v3.1.4 check_links: runs-on: ubuntu-latest steps: