Skip to content

Commit 4ce0678

Browse files
committed
unit test script mkdir for coverage folder for widnows
1 parent abb9b5e commit 4ce0678

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ then
6565
echo "= go test ==============================================================="
6666
cov_tmp="$(mktemp)"
6767
readonly COVERAGE_PATH=./out/coverage.txt
68+
mkdir -p "$(dirname "${COVERAGE_PATH}")"
6869
echo "mode: count" >"${COVERAGE_PATH}"
6970
pkgs=$(go list -f '{{ if .TestGoFiles }}{{.ImportPath}}{{end}}' ./cmd/... ./pkg/... | xargs)
7071
go test \

0 commit comments

Comments
 (0)