Skip to content

Commit 735a585

Browse files
committed
try to get answers from GHA
1 parent c1c24b6 commit 735a585

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/toolchain/driver.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,10 +404,22 @@ mod tests {
404404
.output()
405405
.unwrap();
406406
std::process::Command::new("git")
407+
.args(["config", "user.name", "Kettle CI"])
408+
.current_dir(tmp.path())
409+
.output()
410+
.unwrap();
411+
412+
// why is this failing but only on GitHub actions?
413+
let output = std::process::Command::new("git")
407414
.args(["commit", "--allow-empty", "-n", "-m", "init"])
408415
.current_dir(tmp.path())
409416
.output()
410417
.unwrap();
418+
println!(
419+
"{}\n{}",
420+
String::from_utf8_lossy(&output.stdout),
421+
String::from_utf8_lossy(&output.stderr)
422+
);
411423

412424
let ctx = GitContext::from_dir(&tmp.path().to_path_buf()).unwrap();
413425
assert!(

0 commit comments

Comments
 (0)