mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
go vet yourself (#397)
go vet caught some nifty bugs. so fixed those here, and also made it so that we vet everything from now on since the robots seem to do a better job of vetting than we have managed to. also adds gofmt check to circle. could move this to the test.sh script (didn't want a script calling a script, because $reasons) and it's nice and isolated in its own little land as it is. side note, changed the script so it runs in 100ms instead of 3s, i think find is a lot faster than go list. attempted some minor cleanup of various scripts
This commit is contained in:
committed by
Travis Reeder
parent
d16d449626
commit
8a59654582
3
test.sh
3
test.sh
@@ -35,7 +35,8 @@ container_ip)
|
||||
;;
|
||||
esac
|
||||
|
||||
go test -v $(go list ./... | grep -v vendor | grep -v examples | grep -v tool | grep -v cli | grep -v tmp/go/src | grep -v test/fn-api-tests)
|
||||
go test -v $(go list ./... | grep -v vendor | grep -v examples | grep -v test/fn-api-tests)
|
||||
go vet -v $(go list ./... | grep -v vendor)
|
||||
docker rm --force func-postgres-test
|
||||
docker rm --force func-mysql-test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user