diff --git a/pyproject.toml b/pyproject.toml index 8d2e0f8c..4626598a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,6 +58,7 @@ lint = [ test = [ "pytest~=7.3", "pytest-xdist~=3.2", + "pytest-cov~=4.1", "hypothesis~=6.87" ] build = [ @@ -91,7 +92,7 @@ description = "Env for running development commands for testing" features = ["test"] [tool.hatch.envs.test.scripts] -unit = "python -m pytest --cov --cov-report=xml {args:tests/unit}" +unit = "- python -m pytest --cov=dbt_common --cov-report=xml {args:tests/unit}" ### Linting settings, envs & scripts