mirror of
https://github.com/gomods/athens
synced 2026-02-03 08:40:31 +00:00
Updated according to test_unit.sh (#805)
This commit is contained in:
committed by
Aaron Schlesinger
parent
1dc33bd150
commit
ccf59405cf
@@ -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 ./...
|
||||
|
||||
Reference in New Issue
Block a user