hosted slice 2: TestCIGateSteps knows the three hosted CI targets
The branch added hosted-image-check, hosted-infra-check and hosted-chain-test to both make ci and .amadan/ci.d (15-hosted-image, 16-hosted-infra, 17-hosted-chain), which agree with each other, but the test's expected list still held only the base targets. Mutation: with hosted-chain-test dropped from make ci the test fails on "make ci targets"; restored.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+1
−1
internal/equipotest/foundation_test.go+1 −1
diff --git a/internal/equipotest/foundation_test.go b/internal/equipotest/foundation_test.go| index 19cd2742..e9952bd5 100644 |
| --- a/internal/equipotest/foundation_test.go |
| +++ b/internal/equipotest/foundation_test.go |
| @@ -175,7 +175,7 @@ func TestFoundationMigratesTwice(t *testing.T) { |
| // on a runner host, so the fake make sees what each step asks for. |
| func TestCIGateSteps(t *testing.T) { |
| root := filepath.Join("..", "..") |
| - want := []string{"copy-release-check", "build", "vet", "fmt-check", "spacing", "staticcheck", "govulncheck", "gitleaks", "budget", "test", "test-quarantine", "runner-host", "runner-dead-references", "lanes-check", "migration-check", "perf"} |
| + want := []string{"copy-release-check", "build", "vet", "fmt-check", "spacing", "staticcheck", "govulncheck", "gitleaks", "budget", "test", "test-quarantine", "runner-host", "runner-dead-references", "lanes-check", "migration-check", "perf", "hosted-image-check", "hosted-infra-check", "hosted-chain-test"} |
| sort.Strings(want) |
| // The step scripts run outside this process; their bytes are inputs. |
| testci.Files(t, filepath.Join(root, ".amadan"), filepath.Join(root, "scripts", "ci-test.py"), filepath.Join(root, "scripts", "ci-box.py")) |