Skip to content

Commit

Permalink
Add a pre-commit hook configuration
Browse files Browse the repository at this point in the history
This enables using gotestsum as a pre-commit hook via the
https://pre-commit.com/ framework.
  • Loading branch information
wfscheper committed May 3, 2020
1 parent 6878800 commit d6f4eb9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- id: gotestsum
name: gotestsum
description: |
`go test` runner with output optimized for humans, JUnit XML for CI
integration, and a summary of the test results.
entry: gotestsum
types: [go]
language: golang
pass_filenames: false

0 comments on commit d6f4eb9

Please sign in to comment.