diff --git a/scripts/ps/test_unit.ps1 b/scripts/ps/test_unit.ps1 index cafe2816..fb40cfba 100755 --- a/scripts/ps/test_unit.ps1 +++ b/scripts/ps/test_unit.ps1 @@ -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 ./...