Update Python coverage to use pytest-cov#369
Merged
PokhodenkoSA merged 1 commit intoIntelPython:masterfrom Apr 6, 2021
Merged
Conversation
PokhodenkoSA
approved these changes
Apr 6, 2021
Contributor
PokhodenkoSA
left a comment
There was a problem hiding this comment.
Looks good. Waiting for CI.
PokhodenkoSA
reviewed
Apr 6, 2021
| branch = True | ||
| source = dpctl | ||
| omit = dpctl/tests/*, *__init__.py | ||
| omit = dpctl/tests/*, dpctl/_version.py |
Contributor
There was a problem hiding this comment.
Why dpctl/_version.py ignored?
Contributor
|
I have merged because tests passed. Coverage statistics reporting failed
Traceback (most recent call last):
File "$PREFIX/lib/python3.7/site-packages/teamcity_messages-1.25-py3.7.egg/teamcity/pytest_plugin.py", line 371, in pytest_terminal_summary
self._report_coverage()
File "$PREFIX/lib/python3.7/site-packages/teamcity_messages-1.25-py3.7.egg/teamcity/pytest_plugin.py", line 378, in _report_coverage
from coverage.report import Reporter
ImportError: cannot import name 'Reporter' from 'coverage.report' ($PREFIX/lib/python3.7/site-packages/coverage/report.py)It should be fixed by SAT-3964. |
Contributor
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Blocked by SAT-3964. Waiting for coverage package on internal CI.
Closes #280.
Implemented coverage only on Linux. On Windows tests run without coverage.