-
-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: ensure git author config in tests
- Loading branch information
Showing
3 changed files
with
6 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -808,6 +808,12 @@ export DEBUGSH=true | |
# The tomono script is tangled right next to the test script | ||
export PATH="$PWD:$PATH" | ||
|
||
# Ensure testing always works even on unconfigured CI etc | ||
export GIT_AUTHOR_NAME="Test" | ||
export GIT_AUTHOR_EMAIL="[email protected]" | ||
export GIT_COMMITTER_NAME="Test" | ||
export GIT_COMMITTER_EMAIL="[email protected]" | ||
|
||
<<test-setup>> | ||
<<test-run>> | ||
<<test-evaluate>> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,12 +69,6 @@ | |
pkgs.stdenv.mkDerivation (_: { | ||
pname = "tomono-check"; | ||
version = "1.0"; | ||
env = { | ||
GIT_AUTHOR_NAME = "Test"; | ||
GIT_AUTHOR_EMAIL = "[email protected]"; | ||
GIT_COMMITTER_NAME = "Test"; | ||
GIT_COMMITTER_EMAIL = "[email protected]"; | ||
}; | ||
nativeBuildInputs = [ | ||
# The actual code being tested. Must be in PATH. | ||
self.packages.${system}.default | ||
|