-
Notifications
You must be signed in to change notification settings - Fork 319
/
Copy pathtox.ini
46 lines (42 loc) · 835 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
[tox]
envlist = unit, integration
skipsdist = True
[testenv:unit]
allowlist_externals = coverage
passenv = PYTHONPATH
skip_install = True
commands =
coverage run -m pytest -s -m "not integration"
coverage xml
coverage report
coverage html
[testenv:integration]
allowlist_externals = coverage
passenv = PYTHONPATH
skip_install = True
commands =
# Run only integration tests
coverage run -m pytest -s -m integration
coverage xml
coverage report
coverage html
[coverage:run]
relative_files = True
source =
app/
app/agents/
app/analysis/
app/api/
app/model/
app/search/
branch = True
omit =
app/api/swe_bench_docker_validation.py
app/model/register.py
output/*
setup/*
[coverage:report]
show_missing = False
exclude_lines =
if __name__ == "__main__":