Commit Graph
2 Commits
Author SHA1 Message Date
aiongg ccb3b70806 Tests: the select job also runs when the gate shards its tests 2026-11-18 20:05:33 +00:00
aiongg cd0795f15d gate: run platform legs on a pull request only when it can change them (select-os)
A select legs job (actions/select-platforms) runs the select-os legs on a pull
request only when a changed file is in a crate with platform cfg code or a crate
that depends on one (cargo metadata --no-deps and a scan of the sources), is part
of the build setup or select-paths, or lies outside every crate and is not
documentation. The select-label label (full-ci) and every other event run every
leg. Without select-os no select job runs and the matrix is os, as before.

On craft-libs today 37 of 177 crates have platform cfg code and 57 are affected
with their dependents; 39 of the last 80 merged pull requests would have run the
Linux leg only.
2026-11-17 18:55:31 +00:00