Skip to content

Commit 8f240de

Browse files
authored
Rollup merge of #141897 - Kobzol:fix-citool-tests, r=marcoieni
Fix citool tests when executed locally They couldn't be executed locally before due to some additional environment reads. I also investigated the annoying rebuilds that we see on CI all the time, and they are caused by `ring`'s build script. It should be fixed in the next ring release (briansmith/ring#2525), so we can just wait for that and then update `ring`. r? `@marcoieni`
2 parents ad00cbe + 28cf702 commit 8f240de

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)