File tree Expand file tree Collapse file tree 4 files changed +14
-7
lines changed Expand file tree Collapse file tree 4 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 1
1
[run]
2
- source = pytest,_pytest,testing/
2
+ include =
3
+ src/*
4
+ testing/*
5
+ .tox/*/lib/python*/site-packages/_pytest/*
6
+ .tox/*/lib/python*/site-packages/pytest.py
7
+ .tox\*\Lib\site-packages\_pytest\*
8
+ .tox\*\Lib\site-packages\pytest.py
3
9
parallel = 1
4
10
branch = 1
5
11
Original file line number Diff line number Diff line change @@ -103,9 +103,9 @@ after_success:
103
103
# Add last TOXENV to $PATH.
104
104
PATH="$PWD/.tox/${TOXENV##*,}/bin:$PATH"
105
105
coverage combine
106
- coverage xml --ignore-errors
107
- coverage report -m --ignore-errors
108
- bash <(curl -s https://codecov.io/bash) -Z -X gcov -X coveragepy -X search -X xcode -X gcovout -X fix -f coverage.xml -F $TRAVIS_OS_NAME
106
+ coverage xml
107
+ coverage report -m
108
+ bash <(curl -s https://codecov.io/bash) -Z -X gcov -X coveragepy -X search -X xcode -X gcovout -X fix -f coverage.xml -F $TRAVIS_OS_NAME -n $TOXENV
109
109
fi
110
110
111
111
notifications :
Original file line number Diff line number Diff line change @@ -120,3 +120,4 @@ jobs:
120
120
condition : eq(variables['PYTEST_COVERAGE'], '1')
121
121
env :
122
122
CODECOV_TOKEN : $(CODECOV_TOKEN)
123
+ PYTEST_CODECOV_NAME : $(tox.env)
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ if "%PYTEST_COVERAGE%" == "1" (
8
8
)
9
9
python -m pip install codecov
10
10
coverage combine
11
- coverage xml --ignore-errors
12
- coverage report -m --ignore-errors
13
- scripts\retry codecov --required -X gcov pycov search -f coverage.xml --flags windows
11
+ coverage xml
12
+ coverage report -m
13
+ scripts\retry codecov --required -X gcov pycov search -f coverage.xml --flags windows --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