2022-07-15 18:37:52 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -eux
|
|
|
|
|
|
|
|
docker build ./src --tag pihole:${GIT_TAG} --no-cache
|
2023-01-06 19:57:09 +01:00
|
|
|
docker images pihole:${GIT_TAG}
|
2022-07-15 18:37:52 +02:00
|
|
|
|
2022-09-17 06:28:01 +02:00
|
|
|
# auto-format the pytest code
|
|
|
|
python -m black ./test/tests/
|
|
|
|
|
2022-07-15 18:37:52 +02:00
|
|
|
# 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/
|