diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 47eabe1..6f22fe9 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: python -m unittest discover -s environments/redaction_pressure/tests -v - name: Build all environment distributions run: | - for environment in redaction_pressure canary_trap fault_localisation schema_migration; do + for environment in redaction_pressure canary_trap fault_localisation schema_migration bot_detection grand_exchange drop_table_inference; do uv build "environments/$environment" --out-dir "dist/$environment" done - name: Verify documented Redaction Pressure entrypoint diff --git a/tests/test_probe.py b/tests/test_probe.py index e8c3c62..06fbd09 100644 --- a/tests/test_probe.py +++ b/tests/test_probe.py @@ -7,16 +7,22 @@ from pathlib import Path ROOT = Path(__file__).resolve().parents[1] +# Every environment probe.py gates. A new environment that is not added here still has to +# print "ok", because the count assertion below counts them — so this list going stale fails +# the build rather than quietly narrowing what the test covers. ENVIRONMENTS = ( "redaction-pressure", "canary-trap", "fault-localisation", "schema-migration", + "bot-detection", + "grand-exchange", + "drop-table-inference", ) class RootProbeIntegrationTests(unittest.TestCase): - def test_public_root_probe_gates_all_four_environments(self) -> None: + def test_public_root_probe_gates_every_environment(self) -> None: completed = subprocess.run( [sys.executable, "probe.py"], cwd=ROOT,