forked from valkey-io/valkey-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: update docker compose commands
Signed-off-by: Rueian <[email protected]>
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,8 @@ go install honnef.co/go/tools/cmd/staticcheck@latest | |
# -U1000 unused check in mock package | ||
staticcheck -checks "all,-ST1000,-ST1003,-ST1012,-ST1016,-ST1020,-ST1021,-U1000" ./... | (grep -v "_test.go:" && exit 1 || exit 0) | ||
|
||
trap "docker-compose down -v" EXIT | ||
docker-compose up -d | ||
trap "docker compose down -v" EXIT | ||
docker compose up -d | ||
sleep 5 | ||
go install gotest.tools/[email protected] | ||
gotestsum --format standard-verbose --junitfile unit-tests.xml -- -coverprofile=coverage.out -race -timeout 30m "$@" |