Skip to content

Commit

Permalink
Fixes coverage reports on CodeCov by only including the coverage.txt …
Browse files Browse the repository at this point in the history
…generated by the tests
  • Loading branch information
bvobart committed Jun 25, 2021
1 parent f8e5ca9 commit 5aa8e36
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ jobs:

- name: Upload code coverage to Codecov.io
uses: codecov/codecov-action@v1
with:
files: coverage.txt
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ jobs:
name: mllint-binaries
path: ./dist

- name: Upload code coverage to Codecov.io
uses: codecov/codecov-action@v1
with:
files: coverage.txt

build_wheels:
name: Build Pip wheels on ${{ matrix.os }}
needs: build_golang
Expand Down
3 changes: 0 additions & 3 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
ignore:
- linters/testing/test-resources

coverage:
status:
project:
Expand Down

0 comments on commit 5aa8e36

Please sign in to comment.