File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
1
[tox]
2
- envlist = pypy3,py39 ,report
2
+ envlist = clean,pypy310,py310 ,report
3
3
4
4
[tool:pytest]
5
5
testpaths = tests
6
6
addopts =
7
7
--cov-report =term-missing
8
8
9
9
[testenv]
10
- setenv =
11
- py{py3,39}: COVERAGE_FILE = .coverage.{envname}
12
- commands = pytest --cov {posargs:-vv}
10
+ commands = pytest --cov --cov-append {posargs:-vv}
13
11
deps =
14
12
pytest
15
13
coverage
@@ -20,12 +18,17 @@ deps =
20
18
../..
21
19
22
20
depends =
23
- report: pypy3,py39
21
+ report: pypy310,py310
22
+ {pypy310,py310}: clean
23
+
24
+ [testenv:clean]
25
+ skip_install = true
26
+ deps = coverage
27
+ commands =
28
+ coverage erase
24
29
25
30
[testenv:report]
26
31
skip_install = true
27
32
deps = coverage
28
33
commands =
29
- coverage combine
30
- coverage html
31
34
coverage report --fail-under =100
You can’t perform that action at this time.
0 commit comments