Skip to content

Commit

Permalink
test: ensure git author config in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hraban committed Mar 16, 2024
1 parent ea66e5a commit d66167c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions Readme.org
Original file line number Diff line number Diff line change
Expand Up @@ -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>>
Expand Down
6 changes: 0 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d66167c

Please sign in to comment.