Files
docker-pi-hole/test/cmd.sh
2024-08-17 22:30:24 +01:00

12 lines
335 B
Bash
Executable File

#!/usr/bin/env sh
set -eux
docker buildx build ./src --build-arg TARGETPLATFORM="${TARGETPLATFORM}" --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
COLUMNS=120 py.test -vv -n auto ./test/tests/