Projet

Général

Profil

0001-wip.patch

Valentin Deniaud, 09 mai 2022 16:23

Télécharger (1,97 ko)

Voir les différences:

Subject: [PATCH] wip

 tox.ini | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 50 insertions(+), 1 deletion(-)
tox.ini
1 1
[tox]
2 2
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/wcs/{env:BRANCH_NAME:main}/{env:EXECUTOR_NUMBER:}
3
envlist = py3-django22-codestyle-pylint-coverage
3
envlist = py3-django22-codestyle-coverage, new
4 4

  
5 5
[testenv]
6 6
sitepackages = true
......
50 50
    py.test -v {env:COVERAGE:} --junitxml=junit-{envname}.xml {posargs:tests/}
51 51
    pylint: ./pylint.sh wcs/ tests/
52 52
    codestyle: pre-commit run --all-files --show-diff-on-failure
53

  
54
[testenv:new]
55
sitepackages = true
56
setenv =
57
    SETUPTOOLS_USE_DISTUTILS=stdlib
58
    PYTHONPATH={toxinidir}{:}{env:PYTHONPATH:}
59
    PYTHONHASHSEED=0
60
    DJANGO_SETTINGS_MODULE=wcs.settings
61
    WCS_SETTINGS_FILE=tests/settings.py
62
    LC_ALL=C
63
    LC_TIME=C
64
    LANG=C
65
    coverage: COVERAGE=--cov-report xml --cov-report html --cov=wcs/ --cov-config .coveragerc -v
66
passenv =
67
    USER
68
deps =
69
    pytest>=3.6
70
    pytest-mock
71
    pytest-cov
72
    pytest-django
73
    pytest-freezegun
74
    WebTest
75
    mechanize
76
    gadjo
77
    pyquery
78
    mock
79
    requests
80
    vobject
81
    qrcode
82
    Pillow
83
    workalendar
84
    python-magic
85
    docutils
86
    langdetect
87
    git+https://git.entrouvert.org/debian/django-ckeditor.git
88
    git+https://git.entrouvert.org/godo.js.git
89
    django22: django>=2.2,<2.3
90
    django-ratelimit<3
91
    pyproj
92
    astroid!=2.5.7
93
    pylint
94
    Quixote>=3.0,<3.2
95
    pre-commit
96
    pyzbar
97
    bleach
98
commands =
99
    py.test -v {env:COVERAGE:} --junitxml=junit-{envname}.xml {posargs:tests/}
100
    pylint: ./pylint.sh wcs/ tests/
101
    codestyle: pre-commit run --all-files --show-diff-on-failure
53
-