From 77fdbaa703fae748340728206228f81e4d5ec3c9 Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Wed, 23 Oct 2024 09:46:53 -0400 Subject: [PATCH] Fix test report and code coverage upload (#739) * Fix code coverage upload Signed-off-by: Craig Perkins * Update path Signed-off-by: Craig Perkins --------- Signed-off-by: Craig Perkins --- .github/workflows/gradle.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 35fa767e..b579c9ab 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -55,10 +55,14 @@ jobs: working-directory: ./tmp/performance-analyzer run: ./gradlew jacocoTestReport - name: Upload coverage report - working-directory: ./tmp/performance-analyzer - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - run: bash <(curl -s https://codecov.io/bash) -f ./build/reports/jacoco/test/jacocoTestReport.xml + uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} + - uses: actions/upload-artifact@v3 + with: + name: linux-JDK${{ matrix.java }}-reports + path: | + ./tmp/performance-analyzer/build/reports/ - name: Run Integration Tests working-directory: ./tmp/performance-analyzer run: ./gradlew integTest -Dtests.enableIT -Dtests.useDockerCluster