Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cd02ff47a5 | ||
|
|
836a531e93 | ||
|
|
8d72f07cf0 |
@@ -136,12 +136,17 @@ def main() -> None:
|
||||
["README.md", "ci/pr-surface.py"]):
|
||||
assert not pr_surface.documentation_only(paths), paths
|
||||
assert pr_surface.headless_packages(["crates/alkane-cli/src/main.rs"]) == ["alkane-cli"]
|
||||
assert pr_surface.headless_packages(["crates/alkane-artifacts/src/lib.rs"]) == [
|
||||
"alkane-artifacts", "alkane-cli", "alkane-flash",
|
||||
]
|
||||
# alkane-gui depends on alkane-flash and alkane-artifacts (right-click
|
||||
# install/uninstall and the release picker), so a change in either reaches
|
||||
# the GUI graph and needs the full build: not a headless-only change.
|
||||
assert pr_surface.headless_packages(["crates/alkane-artifacts/src/lib.rs"]) == []
|
||||
assert pr_surface.headless_packages(["crates/alkane-flash/src/lib.rs"]) == []
|
||||
assert pr_surface.headless_packages([
|
||||
"crates/alkane-access/src/lib.rs", "crates/alkane-flash/tests/update.rs",
|
||||
]) == ["alkane-access", "alkane-flash"]
|
||||
]) == []
|
||||
assert pr_surface.headless_packages([
|
||||
"crates/alkane-access/src/lib.rs", "crates/alkane-cli/src/main.rs",
|
||||
]) == ["alkane-access", "alkane-cli"]
|
||||
for paths in ([], ["crates/alkane-core/src/lib.rs"],
|
||||
["crates/alkane-discovery/src/lib.rs"],
|
||||
["crates/alkane-gui/src/main.rs"],
|
||||
|
||||
@@ -2356,6 +2356,13 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
// The fetch path shells out to curl (as the whole method relies on local
|
||||
// ssh/sshpass/curl). The Windows CI runs the test binary under Wine, where
|
||||
// curl is not on PATH, so the test cannot run there.
|
||||
#[cfg_attr(
|
||||
windows,
|
||||
ignore = "needs curl on PATH; the Windows CI runs tests under Wine without it"
|
||||
)]
|
||||
fn fetch_pipeline_caches_verifies_and_redownloads() {
|
||||
let work = TempDir::new("fetchtest").expect("temp dir");
|
||||
let source = work.path().join("source");
|
||||
|
||||
Reference in New Issue
Block a user