Updated according to test_unit.sh (#805)

This commit is contained in:
Gabriel Schneider
2018-10-23 20:04:59 -03:00
committed by Aaron Schlesinger
parent 1dc33bd150
commit ccf59405cf
+8
View File
@@ -2,4 +2,12 @@
if (!(Test-Path env:GO_ENV)) {$env:GO_ENV = "test"}
if (!(Test-Path env:ATHENS_MINIO_ENDPOINT)) {
$env:ATHENS_MINIO_ENDPOINT = "127.0.0.1:9001"
}
if (!(Test-Path env:ATHENS_MONGO_STORAGE_URL)) {
$env:ATHENS_MONGO_STORAGE_URL = "mongodb://127.0.0.1:27017"
}
& go test -mod=vendor -race -coverprofile cover.out -covermode atomic ./...