(ctx context.Context, include, exclude []string)
| 112 | } |
| 113 | |
| 114 | func (node *ModTreeNode) RunCheck(ctx context.Context, include, exclude []string) error { |
| 115 | return node.runAsCheck(ctx, |
| 116 | func(n *ModTreeNode) bool { return n.IsCheck }, |
| 117 | func(n *ModTreeNode, ctx context.Context) (bool, error) { |
| 118 | return node.tryRunCheckScaleOut(ctx) |
| 119 | }, |
| 120 | func(n *ModTreeNode, ctx context.Context) error { |
| 121 | return n.runCheckLocally(ctx) |
| 122 | }, |
| 123 | include, exclude) |
| 124 | } |
| 125 | |
| 126 | func (node *ModTreeNode) RunGeneratorAsCheck(ctx context.Context, include, exclude []string) error { |
| 127 | return node.runAsCheck(ctx, |
no test coverage detected