-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtox.ini
More file actions
57 lines (50 loc) · 1.6 KB
/
tox.ini
File metadata and controls
57 lines (50 loc) · 1.6 KB
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
[tox]
requires =
tox>=4.23.2
env_list =
py3
standalone-{json, orjson, ujson, simplejson, txt, lzma}
[testenv]
description = run the tests with pytest
package = wheel
wheel_build_env = .pkg
deps =
pytest>=6
commands =
pytest {tty:--color=yes} {posargs}
[testenv:standalone-json]
description = run merge as standalone on json
package = skip
deps =
commands =
python preciceprofiling/merge.py -o {envtmpdir}/p.json tests/cases/parallel-json
python preciceprofiling/merge.py -o {envtmpdir}/s.json tests/cases/solverdummy-json
python preciceprofiling/merge.py -o {envtmpdir}/f.json tests/cases/fiveparticipants-json
[testenv:standalone-orjson]
deps =
orjson
base = testenv:standalone-json
[testenv:standalone-ujson]
deps =
ujson
base = testenv:standalone-json
[testenv:standalone-simplejson]
deps =
simplejson
base = testenv:standalone-json
[testenv:standalone-txt]
description = run merge as standalone on txt
package = skip
deps =
commands =
python preciceprofiling/merge.py -o {envtmpdir}/p.json tests/cases/parallel-txt
python preciceprofiling/merge.py -o {envtmpdir}/s.json tests/cases/solverdummy-txt
python preciceprofiling/merge.py -o {envtmpdir}/f.json tests/cases/fiveparticipants-txt
[testenv:standalone-lzma]
description = run merge as standalone on compressed lzma files
package = skip
deps =
commands =
python preciceprofiling/merge.py -o {envtmpdir}/p.json tests/cases/parallel-lzma
python preciceprofiling/merge.py -o {envtmpdir}/s.json tests/cases/solverdummy-lzma
python preciceprofiling/merge.py -o {envtmpdir}/f.json tests/cases/fiveparticipants-lzma