Skip to content

Commit 36a64b0

Browse files
committed
Basic testing with tox
1 parent 90c9ddd commit 36a64b0

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tox.ini

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[tox]
2+
usedevelop = True
3+
4+
[testenv]
5+
deps:
6+
2.0: Django>=2.0,<2.1
7+
-r{toxinidir}/test_project/requirements.txt
8+
9+
whitelist_externals = docker-compose
10+
11+
commands =
12+
python {toxinidir}/test_project/manage.py test nginx_push_stream.tests
13+
docker-compose build
14+
docker-compose up -d
15+
python test_project/manage.py test test_app
16+
docker-compose stop

0 commit comments

Comments
 (0)