Aborted attempts to get bats / kcov working

This commit is contained in:
3wc 2020-12-14 12:04:36 +02:00
parent fdc6403a1b
commit ba936796ec
1 changed files with 8 additions and 4 deletions

View File

@ -5,8 +5,9 @@ test:
-it \
--rm \
-v $$(pwd):/workdir \
--privileged \
docker:dind \
sh -c "apk add bats git bash && cd /workdir && bats /workdir/test.bats"
sh -c "apk add bats git bash && cd /workdir && bats tests"
shellcheck:
@docker run \
@ -25,12 +26,15 @@ docopt:
.venv/bin/docopt.sh abra
kcov:
@docker run \
@DOCKER_CONTEXT=default docker run \
-it \
--rm \
-v $$(pwd):/workdir \
kcov/kcov:latest \
sh -c "kcov /workdir/coverage /workdir/abra || true"
koinotice/dind-kcov-bats \
bash -c "kcov coverage bats tests || true"
install:
install abra /usr/bin/abra
codecov: SHELL:=/bin/bash
codecov: