Skip to content

Commit

Permalink
Test with 16 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Sep 12, 2023
1 parent c04821d commit 9d43100
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion tests/compiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,17 @@ fn verify_compiles() {

let hidden = indicatif::ProgressBar::hidden();

let manifest = xwin::manifest::get_manifest(&ctx, "17", "release", hidden.clone()).unwrap();
// TODO: Bump to CI to 17 once github actions isn't using an ancient version,
// we could install in the action run, but not really worth it since I can
// test locally
let manifest_version = if std::env::var_os("CI").is_some() {
"16"
} else {
"17"
};

let manifest =
xwin::manifest::get_manifest(&ctx, manifest_version, "release", hidden.clone()).unwrap();
let pkg_manifest =
xwin::manifest::get_package_manifest(&ctx, &manifest, hidden.clone()).unwrap();

Expand Down

0 comments on commit 9d43100

Please sign in to comment.