Skip to content

Commit

Permalink
Add ignore list for CodeCov (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalyisaev2 authored Dec 29, 2023
1 parent b057299 commit affb6ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
./fq-connector-go-tests -projectPath=$(pwd) -test.coverprofile=coverage_integration_tests.out
- name: Union coverage
run: |
cat coverage_unit_tests.out | grep -v 'pb.go\|mock.go\|library' > coverage.out
cat coverage_integration_tests.out | grep -v 'atomic\|pb.go\|mock.go\|library' >> coverage.out
cat coverage_unit_tests.out > coverage.out
cat coverage_integration_tests.out | grep -v 'mode: atomic' >> coverage.out
go tool cover -func=coverage.out
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4-beta
Expand Down
4 changes: 4 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ignore:
- "api"
- "library"
- "*_mock.go"

0 comments on commit affb6ea

Please sign in to comment.