File tree Expand file tree Collapse file tree 3 files changed +4
-51
lines changed Expand file tree Collapse file tree 3 files changed +4
-51
lines changed Original file line number Diff line number Diff line change @@ -137,22 +137,13 @@ jobs:
137
137
138
138
- name : Test with coverage
139
139
if : " matrix.use_coverage"
140
- env :
141
- _PYTEST_TOX_COVERAGE_RUN : " coverage run -m"
142
- COVERAGE_PROCESS_START : " .coveragerc"
143
- _PYTEST_TOX_EXTRA_DEP : " coverage-enable-subprocess"
144
- run : " tox -e ${{ matrix.tox_env }}"
145
-
146
- - name : Prepare coverage token
147
- if : (matrix.use_coverage && ( github.repository == 'pytest-dev/pytest' || github.event_name == 'pull_request' ))
148
- run : |
149
- python scripts/append_codecov_token.py
140
+ run : " tox -e ${{ matrix.tox_env }}-coverage"
150
141
151
- - name : Report coverage
152
- if : ( matrix.use_coverage)
142
+ - name : Upload coverage
143
+ if : matrix.use_coverage && github.repository == 'pytest-dev/pytest'
153
144
env :
154
145
CODECOV_NAME : ${{ matrix.name }}
155
- run : bash scripts/report -coverage.sh -F GHA,${{ runner.os }}
146
+ run : bash scripts/upload -coverage.sh -F GHA,${{ runner.os }}
156
147
157
148
linting :
158
149
runs-on : ubuntu-latest
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 10
10
PATH=" $PWD /.tox/${TOXENV##* ,} /bin:$PATH "
11
11
fi
12
12
13
- python -m coverage combine
14
13
python -m coverage xml
15
- python -m coverage report -m
16
14
# Set --connect-timeout to work around https://github.com/curl/curl/issues/4461
17
15
curl -S -L --connect-timeout 5 --retry 6 -s https://codecov.io/bash -o codecov-upload.sh
18
16
bash codecov-upload.sh -Z -X fix -f coverage.xml " $@ "
You can’t perform that action at this time.
0 commit comments