Skip to content

Commit cb17506

Browse files
reaperhulkalex
authored andcommitted
revert codecov.yml workaround and pin coverage to 4.3.4 (pyca#3662)
* Revert "Attempted workaround for intermittent coverage issues (pyca#3661)" This reverts commit 84a634c. * pin coverage to 4.3.4
1 parent 84a634c commit cb17506

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

.travis/install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@ fi
8989

9090
python -m virtualenv ~/.venv
9191
source ~/.venv/bin/activate
92-
pip install tox codecov
92+
pip install tox codecov coverage==4.3.4

Jenkinsfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ def build(toxenv, label, imageName, artifacts, artifactExcludes) {
238238
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
239239
virtualenv .codecov
240240
call .codecov/Scripts/activate
241+
pip install coverage==4.3.4
241242
pip install codecov
242243
codecov -e JOB_BASE_NAME,LABEL
243244
"""
@@ -255,7 +256,7 @@ def build(toxenv, label, imageName, artifacts, artifactExcludes) {
255256
tox -r -- --color=yes
256257
virtualenv .venv
257258
source .venv/bin/activate
258-
pip install coverage
259+
pip install coverage==4.3.4
259260
bash <(curl -s https://codecov.io/bash) -e JOB_BASE_NAME,LABEL
260261
"""
261262
}
@@ -274,7 +275,7 @@ def build(toxenv, label, imageName, artifacts, artifactExcludes) {
274275
fi
275276
virtualenv .venv
276277
source .venv/bin/activate
277-
pip install coverage
278+
pip install coverage==4.3.4
278279
bash <(curl -s https://codecov.io/bash) -e JOB_BASE_NAME,LABEL
279280
"""
280281
}

codecov.yml

-9
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,3 @@ coverage:
77
project:
88
default:
99
target: '100'
10-
11-
# Workaround for
12-
# https://bitbucket.org/ned/coveragepy/issues/578/incomplete-file-path-in-xml-report
13-
fixes:
14-
# Label all the files with a `tests/` prefix.
15-
- "::tests/"
16-
# Move things with a `tests/src/cryptography` prefix back to
17-
# `src/cryptography/`
18-
- "tests/src/cryptography/::src/cryptography/"

0 commit comments

Comments
 (0)