ci: speed up scoped workflow lanes

This commit is contained in:
Peter Steinberger
2026-03-13 19:42:08 +00:00
parent a423b1d936
commit d17490ff54
4 changed files with 59 additions and 29 deletions

View File

@@ -124,6 +124,16 @@ describe("detectChangedScope", () => {
});
});
it("runs platform lanes when the CI workflow changes", () => {
expect(detectChangedScope([".github/workflows/ci.yml"])).toEqual({
runNode: true,
runMacos: true,
runAndroid: true,
runWindows: true,
runSkillsPython: true,
});
});
it("treats base and head as literal git args", () => {
const markerPath = path.join(
os.tmpdir(),