Use the One True Way for testing
continuous-integration/drone/push Build is passing Details

Closes #71.
This commit is contained in:
Luke Murphy 2021-01-01 13:47:37 +01:00
parent b79e35f982
commit 1600b6277f
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 1 additions and 12 deletions

View File

@ -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 \