Skip to content

Commit

Permalink
added more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
prabhatsharma committed May 6, 2022
1 parent 120b02c commit e0bdff3
Show file tree
Hide file tree
Showing 6 changed files with 218 additions and 19 deletions.
5 changes: 4 additions & 1 deletion coverage.sh
@@ -1,6 +1,9 @@
#! /bin/sh

go test ./... -race -covermode=atomic -coverprofile=coverage.out
export ZINC_FIRST_ADMIN_USER=admin
export ZINC_FIRST_ADMIN_PASSWORD=Complexpass#123

go test -v ./... -race -covermode=atomic -coverprofile=coverage.out

# make sure to set CODECOV_TOKEN env variable before doing this
# codecov -f coverage.out
Expand Down
3 changes: 2 additions & 1 deletion go.mod
Expand Up @@ -92,7 +92,8 @@ require (
github.com/xtgo/uuid v0.0.0-20140804021211-a0b114877d4c // indirect
github.com/yusufpapurcu/wmi v1.2.2 // indirect
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 // indirect
golang.org/x/sys v0.0.0-20220114195835-da31bd327af9 // indirect
golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6 // indirect
golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f // indirect
google.golang.org/protobuf v1.26.0 // indirect
gopkg.in/ini.v1 v1.57.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
Expand Down

0 comments on commit e0bdff3

Please sign in to comment.