Skip to content

Commit 28cf702

Browse files
committed
Fix citool tests when executed ocally
They couldn't be executed locally before due to some additional environment reads.
1 parent 52882f6 commit 28cf702

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ci/citool/tests/jobs.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ fn get_matrix(event_name: &str, commit_msg: &str, branch_ref: &str) -> String {
5151
.env("GITHUB_EVENT_NAME", event_name)
5252
.env("COMMIT_MESSAGE", commit_msg)
5353
.env("GITHUB_REF", branch_ref)
54+
.env("GITHUB_RUN_ID", "123")
55+
.env("GITHUB_RUN_ATTEMPT", "1")
5456
.stdout(Stdio::piped())
5557
.output()
5658
.expect("Failed to execute command");

0 commit comments

Comments
 (0)