mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
Add gofmt output to CI test before calling test -z
We use a call to test -z together with go fmt because it doesn't output a non-zero exit status (triggering CI test failure). However, we lose useful debugging output from the go fmt call because test -z swallows it. This adds very verbose formatting output to the CI test.
This commit is contained in:
parent
e851861e68
commit
115ba6a745
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ variables:
|
|||
lbzip2
|
||||
|
||||
.go-test: &go-test
|
||||
- gofmt -d .
|
||||
- test -z "$(go fmt ./...)"
|
||||
- go vet ./...
|
||||
- go test -v -race ./...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue