Skip to content
Snippets Groups Projects
Unverified Commit 9d3435d6 authored by Benjamin Bollen's avatar Benjamin Bollen
Browse files

make: add integration tests to docker_test; add cleanup

parent 8624f0ea
No related branches found
No related tags found
No related merge requests found
......@@ -140,4 +140,11 @@ build_docker_db: check
.PHONY: test_docker_db
test_docker_db: check
docker build -t ${DOCKER_NAMESPACE}/db:build-${COMMIT_SHA} ${REPO}
docker run ${DOCKER_NAMESPACE}/db:build-${COMMIT_SHA} glide nv | xargs go test
\ No newline at end of file
docker run ${DOCKER_NAMESPACE}/db:build-${COMMIT_SHA} glide nv | xargs go test -tags integration
### Clean up
# clean removes the target folder containing build artefacts
.PHONY: clean
clean:
-rm -r ./target
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment