-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Make signing tests more robust
Old tests didn't verify the signatures were produced and also assumed that signing config wasn't set up wherever you ran tests. Since I do use signed commits now for my own work, this was a bad assumption and made the tests fail locally. Now we check for either the signature to be present or that signing failed because no secret key was found. For disabling signing, we ensure that no signature was added to the commit.
- Loading branch information
1 parent
e9b625b
commit 34df457
Showing
1 changed file
with
23 additions
and
2 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