We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8762f01 commit 2f13aeeCopy full SHA for 2f13aee
.evergreen/run-tests.sh
@@ -258,7 +258,7 @@ python -c 'import sys; print(sys.version)'
258
# Only cover CPython. PyPy reports suspiciously low coverage.
259
PYTHON_IMPL=$($PYTHON -c "import platform; print(platform.python_implementation())")
260
if [ -n "$COVERAGE" ] && [ "$PYTHON_IMPL" = "CPython" ]; then
261
- python -m pip install pytest-cov "coverage<7.3"
+ python -m pip install pytest-cov "coverage"
262
TEST_ARGS="$TEST_ARGS --cov pymongo --cov-branch --cov-report term-missing:skip-covered"
263
fi
264
@@ -292,3 +292,8 @@ if [ -n "$PERF_TEST" ]; then
292
293
cat report.json
294
295
+
296
+# Handle coverage post actions.
297
+if [ -n "$COVERAGE" ]; then
298
+ rm -rf .pytest_cache
299
+fi
0 commit comments