File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 82
82
before_script :
83
83
- |
84
84
if [[ "$PYTEST_NO_COVERAGE" != 1 ]]; then
85
- export _PYTEST_TOX_COVERAGE_RUN="env COVERAGE_FILE=$PWD/.coverage COVERAGE_PROCESS_START=$PWD/.coveragerc coverage run --source {envsitepackagesdir}/_pytest/,$PWD/testing -m"
85
+ export COVERAGE_FILE=$PWD/.coverage
86
+ export COVERAGE_PROCESS_START=$PWD/.coveragerc
87
+ export _PYTEST_TOX_COVERAGE_RUN="coverage run --source {envsitepackagesdir}/_pytest/,$PWD/testing -m"
86
88
export _PYTEST_TOX_EXTRA_DEP=coverage-enable-subprocess
87
89
fi
88
90
Original file line number Diff line number Diff line change 1
1
if not defined PYTEST_NO_COVERAGE (
2
- set " _PYTEST_TOX_COVERAGE_RUN = coverage run --source {envsitepackagesdir}/_pytest/,%CD% /testing -m"
2
+ set " COVERAGE_FILE = %CD% \.coverage"
3
+ set " COVERAGE_PROCESS_START = %CD% \.coveragerc"
4
+ set " _PYTEST_TOX_COVERAGE_RUN = coverage run --source {envsitepackagesdir}\_pytest\,%CD% \testing -m"
3
5
set " _PYTEST_TOX_EXTRA_DEP = coverage-enable-subprocess"
4
6
echo Coverage setup completed
5
7
) else (
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ envlist =
19
19
[testenv]
20
20
commands =
21
21
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest --lsof -ra {posargs:testing}
22
- passenv = USER USERNAME
22
+ passenv = USER USERNAME COVERAGE_FILE COVERAGE_PROCESS_START
23
23
setenv =
24
24
deps =
25
25
hypothesis>=3.56
You can’t perform that action at this time.
0 commit comments