Skip to content

Commit

Permalink
Exclude protobuf generated files from coverage (knative#8478)
Browse files Browse the repository at this point in the history
I _think_ this is correct... :-)
  • Loading branch information
vagababov authored Jun 25, 2020
1 parent b44d962 commit 3be6a3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
# coverage. If a path is marked as linguist-generated already, it will be implicitly excluded and
# there is no need to add the coverage-excluded attribute
/pkg/**/testing/** coverage-excluded=true
/pkg/**/*pb.go coverage-excluded=true
/vendor/** coverage-excluded=true
/test/** coverage-excluded=true
/cmd/**/main.go coverage-excluded=true

0 comments on commit 3be6a3c

Please sign in to comment.