forked from DLR-RM/RAFCON
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox_external.ini
63 lines (54 loc) · 1.68 KB
/
tox_external.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
[tox]
envlist = core, memory_core, py36, py310
[commands]
commands_pre =
coverage erase
commands = coverage run ./setup.py pytest
commands_post =
coverage report -m
coverage html
coverage xml
[commands-core]
commands = coverage run --source=source/rafcon/core ./setup.py pytest
[testenv]
# pycairo needs to be installed first to be able to install PyGObject via pip
deps =
coverage==6.2
pycairo==1.19.1
passenv =
DISPLAY
XAUTHORITY
HOME
setenv =
PIP_DISABLE_VERSION_CHECK = 1
[testenv:core]
basepython = python3.6
commands_pre = {[commands]commands_pre}
commands = {[commands-core]commands} {posargs: --addopts 'tests/core -vx -m "(core or gui) and not unstable and not user_input and not unstable36 and not unstable3"'}
commands_post =
coverage report -m
coverage html -d htmlcov_core
coverage xml -o coverage_core.xml
[testenv:memory_core]
# Change value of Memory_Test_Iterations to specify number of iterations for the memory test
basepython = python3.6
setenv =
Memory_Test_Iterations=25
deps =
pytest==7.0.1
coverage==6.2
pycairo==1.19.1
commands =
pytest tests/memory
[testenv:py36]
commands_pre ={[commands]commands_pre}
commands = {[commands]commands} {posargs:--addopts '-vx -m "(core or gui) and not unstable and not user_input and not unstable36 and not unstable3"'}
commands_post = {[commands]commands_post}
[testenv:py310]
basepython = python3.10
deps =
pytest==7.0.1
coverage==6.2
commands_pre = {[commands]commands_pre}
commands = {[commands]commands} {posargs:--addopts '-vx -m "(core or gui) and not unstable and not user_input and not unstable310 and not unstable3"'}
commands_post = {[commands]commands_post}