run go tests only in root package
Этот коммит содержится в:
родитель
e99804d43f
коммит
3ec64f42c9
2 изменённых файлов: 3 добавлений и 3 удалений
|
@ -17,8 +17,8 @@ script:
|
||||||
- go get github.com/shiena/ansicolor
|
- go get github.com/shiena/ansicolor
|
||||||
|
|
||||||
# run standard go tests
|
# run standard go tests
|
||||||
- go test -v ./...
|
- go test -v
|
||||||
- go test -race ./...
|
- go test -race
|
||||||
|
|
||||||
# run features
|
# run features
|
||||||
- go run cmd/godog/main.go -f progress
|
- go run cmd/godog/main.go -f progress
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ test:
|
||||||
@sh -c 'if [ ! -z "$(go fmt ./...)" ]; then exit 1; else echo "go fmt OK"; fi'
|
@sh -c 'if [ ! -z "$(go fmt ./...)" ]; then exit 1; else echo "go fmt OK"; fi'
|
||||||
@sh -c 'if [ ! -z "$(golint ./...)" ]; then exit 1; else echo "golint OK"; fi'
|
@sh -c 'if [ ! -z "$(golint ./...)" ]; then exit 1; else echo "golint OK"; fi'
|
||||||
go vet ./...
|
go vet ./...
|
||||||
go test ./...
|
go test
|
||||||
go run cmd/godog/main.go -f progress
|
go run cmd/godog/main.go -f progress
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче