Skip to content

Commit cb473cb

Browse files
authored
Merge branch 'master' into freebsd-libunwind
2 parents 5648e50 + 168c32d commit cb473cb

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

tests/integration/cli/tests/login.rs

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ fn login_works() -> anyhow::Result<()> {
1111
return Ok(());
1212
}
1313
let wapm_dev_token = std::env::var("WAPM_DEV_TOKEN").expect("WAPM_DEV_TOKEN env var not set");
14+
// Special case: GitHub secrets aren't visible to outside collaborators
15+
if wapm_dev_token.is_empty() {
16+
return Ok(());
17+
}
1418
let output = Command::new(get_wasmer_path())
1519
.arg("login")
1620
.arg("--registry")

tests/integration/cli/tests/run.rs

+4
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ fn run_whoami_works() -> anyhow::Result<()> {
112112
}
113113

114114
let ciuser_token = std::env::var("WAPM_DEV_TOKEN").expect("no CIUSER / WAPM_DEV_TOKEN token");
115+
// Special case: GitHub secrets aren't visible to outside collaborators
116+
if ciuser_token.is_empty() {
117+
return Ok(());
118+
}
115119

116120
let output = Command::new(get_wasmer_path())
117121
.arg("login")

0 commit comments

Comments
 (0)