File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ include =
33 src/*
44 */lib/python*/site-packages/pytest_xray/*
55 *\Lib\site-packages\pytest_xray\*
6- parallel = 1
6+ ; FIXME: it shows wrong coverage report
7+ ; parallel = true
78
89[paths]
910source = src/
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ lint = [
4040 " types-requests>=2.32.4.20250913" ,
4141]
4242test = [
43- " pytest-cov >=7.0 .0" ,
43+ " coverage >=7.10 .0" ,
4444 " pytest-httpserver>=1.1.3" ,
4545 " pytest-xdist>=3.8.0" ,
4646]
Original file line number Diff line number Diff line change 1- pytest-cov >=7.0 .0
1+ coverage >=7.10 .0
22pytest-httpserver>=1.1.3
33pytest-xdist>=3.8.0
Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ distshare = {homedir}/.tox/distshare
77[testenv]
88deps = -rrequirements-tests.txt
99commands =
10- pytest tests -v {env:_TOX_COVERAGE_RUN:} {posargs:}
10+ {env:_TOX_COVERAGE_RUN:} pytest tests -v {posargs:}
11+ coverage: coverage report -m
1112setenv =
12- coverage: _TOX_COVERAGE_RUN =--cov -- junitxml =junit.xml -o junit_family =legacy
13+ coverage: _TOX_COVERAGE_RUN =coverage run -m
1314 coverage: COVERAGE_FILE ={toxinidir}/.coverage
1415 coverage: COVERAGE_PROCESS_START ={toxinidir}/.coveragerc
1516
You can’t perform that action at this time.
0 commit comments