2018-07-12 04:23:32 +00:00
|
|
|
[tox]
|
2020-07-28 18:07:50 +00:00
|
|
|
envlist = py37
|
2018-07-12 04:23:32 +00:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
whitelist_externals = docker
|
|
|
|
deps = -rrequirements.txt
|
2020-11-16 22:39:50 +00:00
|
|
|
commands = docker build -f test/debian_9.Dockerfile -t pytest_pihole:debian_9 .
|
2020-03-17 21:23:41 +00:00
|
|
|
docker build -f test/debian_10.Dockerfile -t pytest_pihole:debian_10 .
|
2020-11-16 22:39:50 +00:00
|
|
|
docker build -f test/centos_7.Dockerfile -t pytest_pihole:centos_7 .
|
|
|
|
docker build -f test/centos_8.Dockerfile -t pytest_pihole:centos_8 .
|
2020-10-27 10:48:42 +00:00
|
|
|
docker build -f test/fedora_31.Dockerfile -t pytest_pihole:fedora_31 .
|
|
|
|
docker build -f test/fedora_32.Dockerfile -t pytest_pihole:fedora_32 .
|
2020-03-17 21:23:41 +00:00
|
|
|
docker build -f test/ubuntu_16.Dockerfile -t pytest_pihole:ubuntu_16 .
|
|
|
|
docker build -f test/ubuntu_18.Dockerfile -t pytest_pihole:ubuntu_18 .
|
2020-10-27 10:48:42 +00:00
|
|
|
docker build -f test/ubuntu_20.Dockerfile -t pytest_pihole:ubuntu_20 .
|
2018-07-12 04:23:32 +00:00
|
|
|
pytest {posargs:-vv -n auto} -m "not build_stage" ./test/
|