diff options
author | Cecylia Bocovich <cohosh@torproject.org> | 2022-11-17 11:07:48 -0500 |
---|---|---|
committer | Cecylia Bocovich <cohosh@torproject.org> | 2022-11-17 11:07:48 -0500 |
commit | 115ba6a745b877904f5f4b6a4c852c3f2d5a87b8 (patch) | |
tree | ffecbbfdb47d7804c74d7503d9089c6644347d50 | |
parent | e851861e686520435e456b7ee39ef19097daa60b (diff) | |
download | snowflake-115ba6a745b877904f5f4b6a4c852c3f2d5a87b8.tar.gz snowflake-115ba6a745b877904f5f4b6a4c852c3f2d5a87b8.zip |
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.
-rw-r--r-- | .gitlab-ci.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7db34d5..178c5a7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -60,6 +60,7 @@ variables: lbzip2 .go-test: &go-test + - gofmt -d . - test -z "$(go fmt ./...)" - go vet ./... - go test -v -race ./... |