Fix citool tests when executed ocally
They couldn't be executed locally before due to some additional environment reads.
This commit is contained in:
parent
52882f6522
commit
28cf702292
1 changed files with 2 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue