ensure data capture is disabled in CI
This commit is contained in:
parent
993be8d3ae
commit
5ff66f2e26
3
Makefile
3
Makefile
@ -28,8 +28,9 @@ coverage: build
|
||||
./.scripts/test.sh
|
||||
|
||||
validate:
|
||||
@! gofmt -s -d -l . 2>&1 | grep -vE '^\.git/'
|
||||
grep -R 'const allowTestDataCapture = false' ui/
|
||||
go vet ./...
|
||||
@! gofmt -s -d -l . 2>&1 | grep -vE '^\.git/'
|
||||
|
||||
lint: build
|
||||
golint -set_exit_status $$(go list ./...)
|
||||
|
@ -13,7 +13,7 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
const allowTestDataCapture = true
|
||||
const allowTestDataCapture = false
|
||||
|
||||
func fileExists(filename string) bool {
|
||||
info, err := os.Stat(filename)
|
||||
|
Loading…
x
Reference in New Issue
Block a user