1
0
mirror of https://github.com/pi-hole/docker-pi-hole.git synced 2024-07-02 14:11:01 +02:00
docker-pi-hole/test/cmd.sh
Christian König 7429594ecb Upgrade to bookworm-slim
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-01 00:26:58 +01:00

13 lines
335 B
Bash
Executable File

#!/usr/bin/env bash
set -eux
docker build ./src --tag pihole:${GIT_TAG} --no-cache
docker images pihole:${GIT_TAG}
# auto-format the pytest code
python3 -m black ./test/tests/
# TODO: Add junitxml output and have something consume it
# 2 parallel max b/c race condition with docker fixture (I think?)
py.test -vv -n 2 ./test/tests/