Move test deployment out to it's own file

This commit is contained in:
Marc Di Luzio 2020-07-26 18:10:55 +01:00
parent 74e1cd4564
commit e542999b91
3 changed files with 33 additions and 15 deletions

View file

@ -22,8 +22,8 @@ test:
go test -v ./...
@echo Integration tests
docker-compose up --build --exit-code-from=rove-tests --abort-on-container-exit rove-tests
docker-compose down
docker-compose -f docker-compose-test.yml up --build --exit-code-from=rove-tests --abort-on-container-exit rove-tests
docker-compose -f docker-compose-test.yml down
go tool cover -html=/tmp/coverage-data/c.out -o /tmp/coverage.html
@echo Done, coverage data can be found in /tmp/coverage.html