-
Notifications
You must be signed in to change notification settings - Fork 7
/
tox.ini
71 lines (59 loc) · 1.12 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[tox]
envlist = py{27,35,36,37,38,39,py3}-{linux,macos,windows}
skip_missing_interpreters = true
isolated_build = true
skipsdist=True
[gh-actions]
python =
2.7: py27
3.5: py35
3.6: py36
3.7: py37
3.8: py38
3.9: py39
pypy3: pypy3
[gh-actions:env]
PLATFORM =
ubuntu-latest: linux
macos-latest: macos
windows-latest: windows
[testenv]
passenv =
pythonLocation
CI
PYTHONIOENCODING
PIP_DOWNLOAD_CACHE
deps =
nose
coverage
coverage_python_version
commands =
#python -m doctest -v minimock.py
nosetests -x --detailed-errors .
[testenv:build]
passenv =
pythonLocation
CI
PYTHONIOENCODING
PIP_DOWNLOAD_CACHE
deps =
setuptools
pep517
twine
commands =
python -m pep517.build .
twine check dist/*
[testenv:dev]
skip_install = true
passenv =
pythonLocation
CI
PYTHONIOENCODING
PIP_DOWNLOAD_CACHE
deps =
pip>=20.0.1
commands_pre =
python -m pip install -U pip
python -m pip install -e .[test,cov]
commands =
pytest -v --doctest-modules --flake8 minimock.py --cov minimock --cov-report term-missing