From 1600b6277fbbffc4c6de1e4ba799c7bbe72ec6a0 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Fri, 1 Jan 2021 13:47:37 +0100 Subject: [PATCH] Use the One True Way for testing Closes https://git.autonomic.zone/coop-cloud/abra/issues/71. --- Makefile | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 9bdc672..607361e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ .PHONY: test shellcheck docopt kcov codecov -test_dind: +test: @sudo DOCKER_CONTEXT=default docker run \ -v $$(pwd):/workdir \ --privileged \ @@ -15,17 +15,6 @@ test_dind: @DOCKER_CONTEXT=default docker stop abra-test-dind @DOCKER_CONTEXT=default docker rm abra-test-dind -test_docker: - @DOCKER_CONTEXT=default docker run \ - -it \ - --rm \ - -v $$(pwd):/workdir \ - decentral1se/docker-dind-bats-kcov \ - sh -c "cd /workdir && bats /workdir/tests" - -test_local: - bats tests - shellcheck: @docker run \ -it \