forked from AliyevH/mad-migration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
39 lines (27 loc) · 768 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
# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py{36,37,38},docs
; skipsdist = True
recreate = True
[testenv]
description= (envpython)
basepython =
py36: python3.6
py37: python3.7
py38: python3.8
platform = linux
deps =
pytest-mock
-rrequirements.txt
commands =
python --version
pytest tests/
python setup.py test
[testenv:docs]
description = Run a development server for working on documentation
basepython = python3.7
deps = -rrequirements.txt
commands = mkdocs build --clean