Move server package out into rove-server
This commit is contained in:
parent
62d6213c1a
commit
6fb7ee598d
9 changed files with 27 additions and 41 deletions
10
Makefile
10
Makefile
|
@ -15,8 +15,14 @@ test:
|
|||
# Run the server and shut it down again to ensure our docker-compose works
|
||||
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 -count 1
|
||||
# Run the server and shut it down again to ensure our docker-compose works
|
||||
docker-compose up -d
|
||||
|
||||
# Run tests with coverage and integration tags
|
||||
go test -v ./... --tags=integration -cover -coverprofile=/tmp/c.out -count 1
|
||||
|
||||
#
|
||||
docker-compose down
|
||||
|
||||
# Convert the coverage data to html
|
||||
go tool cover -html=/tmp/c.out -o /tmp/coverage.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue