Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
build: add coverage upload to codecov (#2179)
  • Loading branch information
subotic committed Aug 26, 2022
1 parent ed1cbd0 commit 5d4e57e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Expand Up @@ -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: |
Expand Down

0 comments on commit 5d4e57e

Please sign in to comment.