mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-07 03:40:14 +00:00
Merge pull request #859 from tahoe-lafs/3472.windows-coverage-reports
Integrate Windows coverage reports Fixes: ticket:3472
This commit is contained in:
commit
fd70715a8b
@ -154,6 +154,8 @@ jobs:
|
|||||||
# we maintain.
|
# we maintain.
|
||||||
WHEELHOUSE_PATH: &WHEELHOUSE_PATH "/tmp/wheelhouse"
|
WHEELHOUSE_PATH: &WHEELHOUSE_PATH "/tmp/wheelhouse"
|
||||||
PIP_FIND_LINKS: "file:///tmp/wheelhouse"
|
PIP_FIND_LINKS: "file:///tmp/wheelhouse"
|
||||||
|
# Upload the coverage report.
|
||||||
|
UPLOAD_COVERAGE: "yes"
|
||||||
|
|
||||||
# pip cannot install packages if the working directory is not readable.
|
# pip cannot install packages if the working directory is not readable.
|
||||||
# We want to run a lot of steps as nobody instead of as root.
|
# We want to run a lot of steps as nobody instead of as root.
|
||||||
@ -202,7 +204,9 @@ jobs:
|
|||||||
- run: &SUBMIT_COVERAGE
|
- run: &SUBMIT_COVERAGE
|
||||||
name: "Submit coverage results"
|
name: "Submit coverage results"
|
||||||
command: |
|
command: |
|
||||||
/tmp/venv/bin/codecov
|
if [ -n "${UPLOAD_COVERAGE}" ]; then
|
||||||
|
/tmp/venv/bin/codecov
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
debian-8:
|
debian-8:
|
||||||
@ -222,6 +226,8 @@ jobs:
|
|||||||
<<: *UTF_8_ENVIRONMENT
|
<<: *UTF_8_ENVIRONMENT
|
||||||
# We don't do coverage since it makes PyPy far too slow:
|
# We don't do coverage since it makes PyPy far too slow:
|
||||||
TAHOE_LAFS_TOX_ENVIRONMENT: "pypy27"
|
TAHOE_LAFS_TOX_ENVIRONMENT: "pypy27"
|
||||||
|
# Since we didn't collect it, don't upload it.
|
||||||
|
UPLOAD_COVERAGE: ""
|
||||||
|
|
||||||
|
|
||||||
c-locale:
|
c-locale:
|
||||||
@ -250,6 +256,8 @@ jobs:
|
|||||||
TAHOE_LAFS_TOX_ENVIRONMENT: "deprecations,upcoming-deprecations"
|
TAHOE_LAFS_TOX_ENVIRONMENT: "deprecations,upcoming-deprecations"
|
||||||
# Put the logs somewhere we can report them.
|
# Put the logs somewhere we can report them.
|
||||||
TAHOE_LAFS_WARNINGS_LOG: "/tmp/artifacts/deprecation-warnings.log"
|
TAHOE_LAFS_WARNINGS_LOG: "/tmp/artifacts/deprecation-warnings.log"
|
||||||
|
# The deprecations tox environments don't do coverage measurement.
|
||||||
|
UPLOAD_COVERAGE: ""
|
||||||
|
|
||||||
|
|
||||||
integration:
|
integration:
|
||||||
|
11
.coveragerc
11
.coveragerc
@ -14,3 +14,14 @@ branch = True
|
|||||||
[report]
|
[report]
|
||||||
show_missing = True
|
show_missing = True
|
||||||
skip_covered = True
|
skip_covered = True
|
||||||
|
|
||||||
|
[paths]
|
||||||
|
source =
|
||||||
|
# It looks like this in the checkout
|
||||||
|
src/
|
||||||
|
# It looks like this in the Windows build environment
|
||||||
|
D:/a/tahoe-lafs/tahoe-lafs/.tox/py*-coverage/Lib/site-packages/
|
||||||
|
# Although sometimes it looks like this instead. Also it looks like this on macOS.
|
||||||
|
.tox/py*-coverage/lib/python*/site-packages/
|
||||||
|
# On some Linux CI jobs it looks like this
|
||||||
|
/tmp/tahoe-lafs.tox/py*-coverage/lib/python*/site-packages/
|
||||||
|
0
newsfragments/3472.minor
Normal file
0
newsfragments/3472.minor
Normal file
Loading…
x
Reference in New Issue
Block a user