isUnitOnly returns true when the suite is exactly "unit" with nothing else. In unit-only mode, the runner skips Docker clusters and --tags=integration, running only tests that don't require the integration build tag.
()
| 1149 | // In unit-only mode, the runner skips Docker clusters and --tags=integration, |
| 1150 | // running only tests that don't require the integration build tag. |
| 1151 | func isUnitOnly() bool { |
| 1152 | return len(testsuite) == 1 && testsuite[0] == "unit" |
| 1153 | } |
| 1154 | |
| 1155 | func isValidPackageForSuite(pkg string) bool { |
| 1156 | valid := false |
no outgoing calls
no test coverage detected