-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
52 lines (45 loc) · 986 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
46
47
48
49
50
51
52
[tox]
envlist = test,lint,testmin,testmax,flake8,py37,py38,py39,py310
skip_missing_interpreters = true
[gh-actions]
python =
3.6: py36,test
3.7: py37,test
3.8: py38,test
3.9: py39,test
3.10: py310,test,testmin,testmax,lint,flake8
[testenv]
setenv =
package = memory_map_manager
commands =
test: {[testenv:test]commands}
testmin: {[testenv:testmin]commands}
testmax: {[testenv:testmax]commands}
lint: {[testenv:lint]commands}
flake8: {[testenv:flake8]commands}
[testenv:test]
deps =
-rtest_requirements.txt
-rrequirements.txt
commands =
pytest
[testenv:testmin]
deps =
-rtest_requirements.txt
-rmin_requirements.txt
commands =
pytest
[testenv:testmax]
deps =
-rtest_requirements.txt
commands =
pip install . --upgrade
pytest
[testenv:lint]
deps =
pylint
commands =
pylint {envsitepackagesdir}/{env:package}
[testenv:flake8]
deps = flake8
commands = flake8 {env:package}