-
Notifications
You must be signed in to change notification settings - Fork 2.3k
CI: Tweak our code coverage profile behavior #14967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
5bcfd75
14c677c
54082fd
9e8c768
09f47dc
a61bf8a
a507a05
06ebcba
f3ea9e0
02eb2ac
9fc549e
7a19e6d
72cb0ca
a7861b9
18f89bb
aa763f4
5c2a044
56f139f
a9850dd
54639be
b5ae453
5e5bbd9
c2fe9d2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| # https://docs.codecov.com/docs/ | ||
| # https://docs.codecov.com/docs/codecov-yaml | ||
|
|
||
| codecov: | ||
| branch: main # Set the default branch | ||
|
|
||
| parsers: | ||
| go: | ||
| partials_as_hits: true | ||
|
|
||
| ignore: | ||
| # Ignore our end-to-end test code | ||
| - "go/flags/endtoend/**" | ||
| - "go/mysql/endtoend/**" | ||
| - "go/test/endtoend/**" | ||
| - "go/vt/vtctl/endtoend/**" | ||
| - "go/vt/vtctl/grpcvtctldserver/endtoend/**" | ||
| - "go/vt/vtgate/endtoend/**" | ||
| - "go/vt/vttablet/endtoend/**" | ||
| - "go/cmd/vttestserver/**" # This relies on end-to-end test packages | ||
| # Ignore generated code | ||
| - "go/**/cached_size.go" # Code generated by Sizegen | ||
| - "go/vt/sqlparser/ast_clone.go" # Code generated by ASTHelperGen | ||
| - "go/vt/sqlparser/ast_copy_on_rewrite.go" # Code generated by ASTHelperGen | ||
| - "go/vt/sqlparser/ast_equals.go" # Code generated by ASTHelperGen | ||
| - "go/vt/sqlparser/ast_format_fast.go" # Code generated by ASTFmtGen | ||
| - "go/vt/sqlparser/ast_rewrite.go" # Code generated by ASTHelperGen | ||
| - "go/vt/sqlparser/ast_visit.go" # Code generated by ASTHelperGen | ||
| - "go/vt/vttablet/tabletserver/txthrottler/mock_healthcheck_test.go" # Code generated by MockGen | ||
| - "go/vt/vttablet/tabletserver/txthrottler/mock_throttler_test.go" # Code generated by MockGen | ||
| - "go/vt/sqlparser/sql.go" # Code generated by goyacc | ||
| - "go/mysql/collations/charset/korean/tables.go" # Code generated by go run maketables.go | ||
| - "go/mysql/collations/charset/simplifiedchinese/tables.go" # Code generated by go run maketables.go | ||
| - "go/mysql/collations/colldata/mysqldata.go" # Code generated by makecolldata | ||
| - "go/mysql/collations/colldata/mysqlucadata.go" # Code generated by makecolldata | ||
| - "go/mysql/collations/internal/uca/fasttables.go" # Code generated by makecolldata | ||
| - "go/mysql/collations/mysqlversion.go" # Code generated by makecolldata | ||
| - "go/mysql/collations/supported.go" # Code generated by makecolldata | ||
| # Ignore proto files | ||
| - "go/vt/proto/**" | ||
|
|
||
| comment: # https://docs.codecov.com/docs/pull-request-comments | ||
| hide_project_coverage: false | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. just stating for posterity that i'm good with this given that https://docs.codecov.com/docs/github-checks#hiding-annotations-in-the-files-view exists
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| coverage: | ||
| status: # https://docs.codecov.com/docs/commit-status | ||
| project: | ||
| default: | ||
| informational: true # Don't ever fail the codecov/project or codecov/patch tests | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. perfect |
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -880,8 +880,9 @@ func (wr *Wrangler) ListAllWorkflows(ctx context.Context, keyspace string, activ | |
| } | ||
|
|
||
| // ShowWorkflow will return all of the relevant replication related information for the given workflow. | ||
| func (wr *Wrangler) ShowWorkflow(ctx context.Context, workflow, keyspace string, shards []string) (*ReplicationStatusResult, error) { | ||
| replStatus, err := wr.getStreams(ctx, workflow, keyspace, shards) | ||
| // If shardSubset is nil, then all shards will be queried. | ||
| func (wr *Wrangler) ShowWorkflow(ctx context.Context, workflow, keyspace string, shardSubset []string) (*ReplicationStatusResult, error) { | ||
| replStatus, err := wr.getStreams(ctx, workflow, keyspace, shardSubset) | ||
|
Comment on lines
+883
to
+885
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unrelated non-functional change that came up in a side discussion. |
||
| if err != nil { | ||
| return nil, err | ||
| } | ||
|
|
||

Uh oh!
There was an error while loading. Please reload this page.