diff --git a/scripts/ci/affected.py b/scripts/ci/affected.py index 43d61f697..1891c84bd 100644 --- a/scripts/ci/affected.py +++ b/scripts/ci/affected.py @@ -55,16 +55,9 @@ TEST_DATA = { "tests/action_matrix/": ("apps/solidcraft-cli/", "crates/engine/", "xtask/"), } # Vendored crates (vendor//, a [patch] of a crates.io dependency) and the dependency names -# through which workspace packages reach them: the truck crates and their maths crate only through -# truck itself (crates/kernel), egui-wgpu directly or through eframe. Another vendored crate -# selects the full workspace. -TRUCK = lambda dep: dep.startswith("truck-") # noqa: E731 +# through which workspace packages reach them: egui-wgpu directly or through eframe. Another +# vendored crate selects the full workspace. VENDOR_USES = { - "truck-geometry": TRUCK, - "truck-shapeops": TRUCK, - "truck-stepio": TRUCK, - "truck-meshalgo": TRUCK, - "matext4cgmath": TRUCK, "egui-wgpu": lambda dep: dep in ("egui-wgpu", "eframe"), } diff --git a/scripts/ci/test_affected.py b/scripts/ci/test_affected.py index 239045f40..7cc9f78dc 100644 --- a/scripts/ci/test_affected.py +++ b/scripts/ci/test_affected.py @@ -136,14 +136,6 @@ class RealWorkspace(unittest.TestCase): def test_unmapped_test_data_selects_full(self): self.assertEqual(affected.select(self.meta, ["tests/tools/x.json"]), (True, [])) - def test_vendored_truck_selects_the_kernel_and_up_not_render(self): - full, pk = affected.select(self.meta, ["vendor/truck-shapeops/src/lib.rs"]) - self.assertFalse(full) - self.assertIn("solidcraft-kernel", pk) - self.assertIn("solidcraft-engine", pk) - self.assertNotIn("solidcraft-render", pk) - self.assertNotIn("solidcraft-geom", pk) - def test_vendored_egui_wgpu_selects_the_ui_and_apps_not_the_kernel(self): full, pk = affected.select(self.meta, ["vendor/egui-wgpu/src/winit.rs"]) self.assertFalse(full)