Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wenyuzhao committed Mar 13, 2024
1 parent 69f3e68 commit d0c9bb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions harness-cli/tests/helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ impl TestCrate {
exec("cargo", &["init", "--name", name, "--lib"])?;
std::fs::write(".gitignore", "/target\nCargo.lock")?;
exec("cargo", &["build"])?;
exec("git", &["config", "user.email", "[email protected]"])?;
exec("git", &["config", "user.name", "Your Name"])?;
exec("git", &["add", "."])?;
exec("git", &["commit", "-m", "Initial Commit"])?;
exec("git", &["branch", "-M", "main"])?;
Expand Down

0 comments on commit d0c9bb7

Please sign in to comment.