mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
Fix skipped mongo and minio tests (#791)
This commit is contained in:
committed by
Aaron Schlesinger
parent
639bd23bb0
commit
f665b0c2eb
@@ -6,6 +6,14 @@ if [ -z ${GO_ENV} ]; then
|
||||
export GO_ENV="test"
|
||||
fi
|
||||
|
||||
if [ -z ${ATHENS_MINIO_ENDPOINT} ]; then
|
||||
export ATHENS_MINIO_ENDPOINT="127.0.0.1:9001"
|
||||
fi
|
||||
|
||||
if [ -z ${ATHENS_MONGO_STORAGE_URL} ]; then
|
||||
export ATHENS_MONGO_STORAGE_URL="mongodb://127.0.0.1:27017"
|
||||
fi
|
||||
|
||||
export GO111MODULE=on
|
||||
|
||||
# Run the unit tests with the race detector and code coverage enabled
|
||||
|
||||
Reference in New Issue
Block a user