build: ensure GOWORK=off make test passes (#12951)

This commit is contained in:
Julien Robert
2022-08-18 15:20:27 +02:00
committed by GitHub
parent 72b1a39238
commit 8e9e330d29
36 changed files with 70 additions and 124 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ execute_mod_tests() {
echo ">>> running $go_mod tests"
cd $mod_dir;
go test -mod=readonly -timeout 30m -coverprofile=${root_dir}/${coverage_file}.tmp -covermode=atomic -tags='norace ledger test_ledger_mock rocksdb_build' ./...
# Here we don't use the go.work for ensuring that the modules are correctly tagged and tidy-ed.
GOWORK=off go test -mod=readonly -timeout 30m -coverprofile=${root_dir}/${coverage_file}.tmp -covermode=atomic -tags='norace ledger test_ledger_mock rocksdb_build' ./...
local ret=$?
echo "test return: " $ret;
cd -;