diff --git a/pyproject.toml b/pyproject.toml index a92c30ab9f..ba804e7620 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -136,7 +136,7 @@ numpy = ["1.25", "2.1"] features = ["gpu"] [tool.hatch.envs.test.scripts] -run-coverage = "pytest --cov-config=pyproject.toml --cov=pkg --cov=src" +run-coverage = "pytest --cov-config=pyproject.toml --cov=pkg --cov=src --doctest-glob='*.rst'" run-coverage-gpu = "pip install cupy-cuda12x && pytest -m gpu --cov-config=pyproject.toml --cov=pkg --cov=src" run = "run-coverage --no-cov" run-verbose = "run-coverage --verbose" @@ -349,7 +349,7 @@ ignore_errors = true [tool.pytest.ini_options] minversion = "7" -testpaths = ["tests"] +testpaths = ["tests", "docs"] log_cli_level = "INFO" xfail_strict = true asyncio_mode = "auto"