From 5d4e57ebed8a97aee396705766668b59024ae728 Mon Sep 17 00:00:00 2001 From: Ivan Subotic <400790+subotic@users.noreply.github.com> Date: Fri, 26 Aug 2022 10:29:06 +0200 Subject: [PATCH] build: add coverage upload to codecov (#2179) --- .github/workflows/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3cb07613f8..ffa6239b44 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,11 +39,15 @@ jobs: uses: coursier/cache-action@v6 - name: Build and Test run: make test - - name: Run codacy-coverage-reporter + - name: Upload coverage data to codacy uses: codacy/codacy-coverage-reporter-action@v1 with: project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} - coverage-reports: target/scala-2.13/coverage-report/cobertura.xml + coverage-reports: ./target/scala-2.13/coverage-report/cobertura.xml + - name: Upload coverage data to codecov + uses: codecov/codecov-action@v3 + with: + files: ./target/scala-2.13/coverage-report/cobertura.xml - name: Cleanup before cache shell: bash run: |