-
Notifications
You must be signed in to change notification settings - Fork 5
/
tox.ini
42 lines (35 loc) · 941 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[tox]
envlist = py{38,39,310}-django{32,40}
[testenv]
allowlist_externals =
yarn
echo
download = true
changedir = test_project
usedevelop = true
commands =
yarn
; echo "TRAVIS_JOB_ID=$TRAVIS_JOB_ID"
; echo "DJANGO_LIVE_TEST_SERVER_ADDRESS=$DJANGO_LIVE_TEST_SERVER_ADDRESS"
; export PYTHONPATH=..:$PYTHONPATH
; export DJANGO_SETTINGS_MODULE=test_project.settings
; export PYTHONIOENCODING=utf_8
python manage.py collectstatic --noinput -v0
py.test -d -n 2 --splinter-headless --cov=../multiseek --junitxml=../junit.xml test_app/tests.py ../multiseek
coveralls
passenv =
; DJANGO_LIVE_TEST_SERVER_ADDRESS
TRAVIS
TRAVIS_JOB_ID
TRAVIS_BRANCH
COVERALLS_REPO_TOKEN
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements_dev.txt
django32: django>=3.2,<3.3
django40: Django==4.0b1
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310