You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing: run Coverage report only on CircleCI (#10611)
* Testing: run Coverage report only on CircleCI due to Python debugger
I've been hitting an issue while debugging test cases that it doesn't stop
exactly where I put the breakpoint. This has been pretty annoying since I'm in
the middle of an inner function and I have to do multiple steps forward to find
the exact place where I put my breakpoint.
Today I found this problem is due to an incompatibility of `pytest-cov` and the
debuggers: https://pytest-cov.readthedocs.io/en/latest/debuggers.html.
* Declare the variable in the Python Docker container
pytest --cov-report=xml --cov-config .coveragerc --cov=. --pyargs readthedocs --suppress-no-test-exit-code -m "not proxito and not embed_api" {posargs:{env:TOX_POSARGS:-m "not search and not proxito and not embed_api"}}'
24
+
pytest {env:PYTEST_COVERAGE} --pyargs readthedocs --suppress-no-test-exit-code -m "not proxito and not embed_api" {posargs:{env:TOX_POSARGS:-m "not search and not proxito and not embed_api"}}'
0 commit comments