Fix test instabilities by refactoring to make address dynamic and readable
This commit is contained in:
parent
bc366583a4
commit
1d2087e2b9
7 changed files with 82 additions and 31 deletions
|
@ -9,8 +9,7 @@ go mod download
|
|||
go build ./...
|
||||
|
||||
# Run the server and shut it down again to ensure our docker-compose works
|
||||
docker-compose up --detach --build
|
||||
docker-compose down
|
||||
ROVE_ARGS="--quit 1" docker-compose up --build --exit-code-from=rove-server --abort-on-container-exit
|
||||
|
||||
# Run tests with coverage
|
||||
go test -v ./... -cover -coverprofile=/tmp/c.out
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue