Skip to content

Commit 4f90749

Browse files
committed
Run doctests on CI
1 parent a7fa9ae commit 4f90749

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lint.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,4 @@ spelling:
6161
.PHONY: doctest
6262
doctest:
6363
$(MAKE) -C docs/ doctest SPHINXOPTS=$(SPHINXOPTS)
64+
pytest --codeblocks README.md

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ dev = [
249249
"pylint==2.17.0 ",
250250
"pyroma==4.2",
251251
"pytest-cov==4.0.0",
252+
"pytest_codeblocks==0.16.1",
252253
"pytest==7.2.2 ",
253254
"ruff==0.0.254",
254255
"sphinx-autodoc-typehints==1.22",

0 commit comments

Comments
 (0)