File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 37
37
python.version : ' pypy'
38
38
tox.env : ' pypy'
39
39
python.exe : ' pypy'
40
+ pypy3 :
41
+ python.version : ' pypy3'
42
+ tox.env : ' pypy3'
43
+ python.exe : ' pypy3'
40
44
py34 :
41
45
python.version : ' 3.4'
42
46
tox.env : ' py34'
@@ -112,8 +116,9 @@ jobs:
112
116
condition : succeededOrFailed()
113
117
114
118
- script : call scripts\upload-coverage.bat
115
- displayName : ' Upload coverage'
119
+ displayName : ' Report and upload coverage'
116
120
condition : eq(variables['PYTEST_COVERAGE'], '1')
117
121
env :
122
+ PYTHON : $(python.exe)
118
123
CODECOV_TOKEN : $(CODECOV_TOKEN)
119
124
PYTEST_CODECOV_NAME : $(tox.env)
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ if "%PYTEST_COVERAGE%" == "1" (
6
6
) else (
7
7
echo CODECOV_TOKEN NOT defined
8
8
)
9
- python -m pip install codecov
10
- coverage combine
11
- coverage xml
12
- coverage report -m
13
- scripts\retry codecov --required -X gcov pycov search -f coverage.xml --name %PYTEST_CODECOV_NAME%
9
+ %PYTHON% -m pip install codecov
10
+ %PYTHON% -m coverage combine
11
+ %PYTHON% -m coverage xml
12
+ %PYTHON% -m coverage report -m
13
+ scripts\retry %PYTHON% -m codecov --required -X gcov pycov search -f coverage.xml --name %PYTEST_CODECOV_NAME%
14
14
) else (
15
15
echo Skipping coverage upload, PYTEST_COVERAGE=%PYTEST_COVERAGE%
16
16
)
You can’t perform that action at this time.
0 commit comments