mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2024-06-29 12:41:00 +02:00
468470b7b5
* Removed some old switch statements from alpine no longer required * Limit parallel tests to 2 to help prevent test failure caused by race condition starting parallel tests/containers * Began introducing a new ENV NO_SETUP to skip the majority of startup script 'setup' functions eventually Signed-off-by: Adam Hill <adam@diginc.us>
15 lines
502 B
INI
15 lines
502 B
INI
[tox]
|
|
envlist = py27
|
|
|
|
[testenv]
|
|
whitelist_externals = docker
|
|
deps = -rrequirements.txt
|
|
# 2 parallel max b/c race condition with docker fixture (I think?)
|
|
commands = docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
|
./Dockerfile.py -v --arch amd64
|
|
pytest -vv -n 2 -k amd64 ./test/
|
|
./Dockerfile.py -v --skip amd64
|
|
pytest -vv -n 2 -k armel ./test/
|
|
pytest -vv -n 2 -k armhf ./test/
|
|
pytest -vv -n 2 -k aarch64 ./test/
|