diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9677615206..5ca4290ea8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -107,7 +107,7 @@ jobs: python-version: "3.13" include: - os: "ubuntu-latest" - part: "--doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link" + part: "--doctest-modules pytensor doc --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link" python-version: "3.12" numpy-version: ">=2.0" fast-compile: 0 diff --git a/pyproject.toml b/pyproject.toml index f37b3de84b..8d02d2661d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -119,7 +119,7 @@ tag_prefix = "rel-" [tool.pytest.ini_options] addopts = "--durations=50 --doctest-modules --ignore=pytensor/link --ignore=pytensor/misc/check_duplicate_key.py" -testpaths = ["pytensor/", "tests/"] +testpaths = ["pytensor/", "tests/", "doc/"] xfail_strict = true [tool.ruff]