Skip to content

Commit 010c649

Browse files
committed
Run doctest in docs
1 parent 69efc68 commit 010c649

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
python-version: "3.13"
108108
include:
109109
- os: "ubuntu-latest"
110-
part: "--doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
110+
part: "--doctest-modules pytensor doc --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
111111
python-version: "3.12"
112112
numpy-version: ">=2.0"
113113
fast-compile: 0

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ tag_prefix = "rel-"
119119

120120
[tool.pytest.ini_options]
121121
addopts = "--durations=50 --doctest-modules --ignore=pytensor/link --ignore=pytensor/misc/check_duplicate_key.py"
122-
testpaths = ["pytensor/", "tests/"]
122+
testpaths = ["pytensor/", "tests/", "doc/"]
123123
xfail_strict = true
124124

125125
[tool.ruff]

0 commit comments

Comments
 (0)