mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
revert codecov.yml workaround and pin coverage to 4.3.4 (#3662)
* Revert "Attempted workaround for intermittent coverage issues (#3661)"
This reverts commit 84a634c1e7.
* pin coverage to 4.3.4
This commit is contained in:
parent
84a634c1e7
commit
cb175069bf
3 changed files with 4 additions and 12 deletions
|
|
@ -89,4 +89,4 @@ fi
|
|||
|
||||
python -m virtualenv ~/.venv
|
||||
source ~/.venv/bin/activate
|
||||
pip install tox codecov
|
||||
pip install tox codecov coverage==4.3.4
|
||||
|
|
|
|||
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
|
@ -238,6 +238,7 @@ def build(toxenv, label, imageName, artifacts, artifactExcludes) {
|
|||
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
|
||||
virtualenv .codecov
|
||||
call .codecov/Scripts/activate
|
||||
pip install coverage==4.3.4
|
||||
pip install codecov
|
||||
codecov -e JOB_BASE_NAME,LABEL
|
||||
"""
|
||||
|
|
@ -255,7 +256,7 @@ def build(toxenv, label, imageName, artifacts, artifactExcludes) {
|
|||
tox -r -- --color=yes
|
||||
virtualenv .venv
|
||||
source .venv/bin/activate
|
||||
pip install coverage
|
||||
pip install coverage==4.3.4
|
||||
bash <(curl -s https://codecov.io/bash) -e JOB_BASE_NAME,LABEL
|
||||
"""
|
||||
}
|
||||
|
|
@ -274,7 +275,7 @@ def build(toxenv, label, imageName, artifacts, artifactExcludes) {
|
|||
fi
|
||||
virtualenv .venv
|
||||
source .venv/bin/activate
|
||||
pip install coverage
|
||||
pip install coverage==4.3.4
|
||||
bash <(curl -s https://codecov.io/bash) -e JOB_BASE_NAME,LABEL
|
||||
"""
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,12 +7,3 @@ coverage:
|
|||
project:
|
||||
default:
|
||||
target: '100'
|
||||
|
||||
# Workaround for
|
||||
# https://bitbucket.org/ned/coveragepy/issues/578/incomplete-file-path-in-xml-report
|
||||
fixes:
|
||||
# Label all the files with a `tests/` prefix.
|
||||
- "::tests/"
|
||||
# Move things with a `tests/src/cryptography` prefix back to
|
||||
# `src/cryptography/`
|
||||
- "tests/src/cryptography/::src/cryptography/"
|
||||
|
|
|
|||
Loading…
Reference in a new issue