Skip to content

Commit

Permalink
added coverage execption for testdata
Browse files Browse the repository at this point in the history
  • Loading branch information
kanodia-parag committed Dec 7, 2024
1 parent 9d3631c commit 8974433
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/check-coverage
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,19 @@ go test -covermode atomic -coverprofile=/tmp/coverage.out.tmp -coverpkg=./... $(
# ignore protobuf files
cat /tmp/coverage.out.tmp | grep -v ".pb.go" > /tmp/coverage.out

goveralls -coverprofile=/tmp/coverage.out -service=github -ignore='_examples/*/*,_examples/*/*/*,integration/*,integration/*/*,codegen/testserver/*/*,plugin/resolvergen/testdata/*/*,plugin/modelgen/*/*,plugin/federation/testdata/*/*/*,*/generated.go,*/*/generated.go,*/*/*/generated.go,graphql/executable_schema_mock.go'
goveralls -coverprofile=/tmp/coverage.out \
-service=github \
-ignore='_examples/*/*,
_examples/*/*/*,
integration/*,
integration/*/*,
codegen/testserver/*/*,
plugin/resolvergen/testdata/*/*,
plugin/modelgen/*/*,
plugin/federation/testdata/*/*/*,
plugin/federation/testdata/usefunctionsyntaxforexecutioncontext/generated/model/models.go,
plugin/federation/testdata/usefunctionsyntaxforexecutioncontext/entity.resolvers.go
*/generated.go,
*/*/generated.go,
*/*/*/generated.go,
graphql/executable_schema_mock.go'

0 comments on commit 8974433

Please sign in to comment.