Skip to content

Commit

Permalink
fix: remove vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
work-jlsun committed Jan 14, 2023
1 parent b6c6d74 commit 5709dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .unit-test.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

GOFLAGS="-mod=vendor" go test $(go list ./...) -coverprofile=coverage.data -timeout 30m >&2 || return 1
go test $(go list ./...) -coverprofile=coverage.data -timeout 30m >&2 || return 1

go tool cover -func=coverage.data >&2
COVERAGE=$(go tool cover -func=coverage.data | tail -n 1 | awk '{print $3}') && COVERAGE=${COVERAGE%%\%} && echo "$COVERAGE"

0 comments on commit 5709dd7

Please sign in to comment.