diff --git a/.gitignore b/.gitignore index 6478ff33c6..0562c417f5 100644 --- a/.gitignore +++ b/.gitignore @@ -99,3 +99,7 @@ testing_support/google_appengine # Ignore gemini-cli configs /.gemini/ + +# Ignore coverage results file and htlp folder. +.coverage +htmlcov/ \ No newline at end of file diff --git a/.vpython3 b/.vpython3 index f115dc044d..b8fe444913 100644 --- a/.vpython3 +++ b/.vpython3 @@ -101,4 +101,10 @@ wheel: < wheel: < name: "infra/python/wheels/lxml/${vpython_platform}" version: "version:4.9.3" +> + +# To be used by developers running unit test coverage. +wheel: < + name: "infra/python/wheels/coverage-py3" + version: "version:7.13.0" > \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 130a86b850..7230f0cb9b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,3 +2,6 @@ venvPath = 'recipes/.recipe_deps/_venv' venv = 'normal' extraPaths = ['recipes/.recipe_deps/_path'] + +[tool.coverage.run] +disable_warnings = ["no-ctracer"] \ No newline at end of file