forked from zibasec/django-saml2-pro-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
45 lines (39 loc) · 832 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
43
44
45
[tox]
envlist = clean,py{36,37,38,39}-django{22,30,31},build
[testenv]
deps =
pytest
pytest-cov
pytest-django
check-manifest
coverage
django22: Django >=2.2,<2.3
django30: Django >=3.0,<3.1
django31: Django >=3.1,<3.2
commands = python -m pytest {posargs}
[testenv:clean]
allowlist_externals = sh
deps = coverage
skip_install = true
commands =
coverage erase
python setup.py clean --all
sh -c 'rm -rf dist/ src/*.egg-info'
[testenv:build]
deps = twine
commands =
python setup.py sdist bdist_wheel
twine check dist/*
[pytest]
addopts = --ds=tests.settings
--cov
--cov-append
--cov-report term-missing
django_find_project = false
[coverage:run]
source=src,saml2_pro_auth
[coverage:paths]
source =
src/
saml2_pro_auth/
.tox/*/lib/python*/site-packages/