mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 15:50:05 +03:00
Fix citool tests when executed ocally
They couldn't be executed locally before due to some additional environment reads.
This commit is contained in:
@@ -51,6 +51,8 @@ fn get_matrix(event_name: &str, commit_msg: &str, branch_ref: &str) -> String {
|
||||
.env("GITHUB_EVENT_NAME", event_name)
|
||||
.env("COMMIT_MESSAGE", commit_msg)
|
||||
.env("GITHUB_REF", branch_ref)
|
||||
.env("GITHUB_RUN_ID", "123")
|
||||
.env("GITHUB_RUN_ATTEMPT", "1")
|
||||
.stdout(Stdio::piped())
|
||||
.output()
|
||||
.expect("Failed to execute command");
|
||||
|
||||
Reference in New Issue
Block a user