Skip to content

Commit

Permalink
set git user to avoid test-failures in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalkuthe committed Sep 19, 2022
1 parent 1619b98 commit 58e4ace
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helix-vcs/src/git/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ fn create_commit(repo: &Path, add_modified: bool) {
fn empty_git_repo() -> TempDir {
let tmp = tempfile::tempdir().expect("create temp dir for git testing");
exec_git_cmd("init", tmp.path());
exec_git_cmd("config user.email test@helix.org", tmp.path());
exec_git_cmd("config user.name helix-test", tmp.path());
tmp
}

Expand Down

0 comments on commit 58e4ace

Please sign in to comment.