Skip to content

Commit

Permalink
python/ Run doctests when testing wheels.
Browse files Browse the repository at this point in the history
  • Loading branch information
MLopez-Ibanez committed Sep 5, 2024
1 parent ec7fa9e commit e0393e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ build-verbosity = 2
test-requires = "pytest"
test-command = [
"pytest {package}/tests",
"pytest --doctest-modules --doctest-continue-on-failure {package}/src/moocore",
"pytest --doctest-modules --doctest-continue-on-failure {package}",
]
# skip tests on cp38-macosx_x86_64 because of https://github.com/catboost/catboost/issues/2371
# skip tests on emulated architectures, as they are very slow
Expand Down Expand Up @@ -120,3 +120,4 @@ doctest_optionflags = "NUMBER"
addopts = [
"--import-mode=importlib",
]
pythonpath = "src"

0 comments on commit e0393e1

Please sign in to comment.