tests: fix and enable doctests (#2546)

* fix doctest

* Update cibuildwheel/oci_container.py

Co-authored-by: Joe Rickerby <joerick@mac.com>

* Update cibuildwheel/oci_container.py

Co-authored-by: Joe Rickerby <joerick@mac.com>

* Update cibuildwheel/oci_container.py

Co-authored-by: Joe Rickerby <joerick@mac.com>

* Add xdoctest to CI

* Add doctests to run tests

* Replace test map with new native method

* Forgot key for arm64

* Allow doctests to be filtered on circleci

---------

Co-authored-by: Joe Rickerby <joerick@mac.com>
This commit is contained in:
Jon Crall
2025-08-12 09:06:12 -04:00
committed by GitHub
co-authored by Joe Rickerby
parent 8db3538534
commit 5952330610
7 changed files with 58 additions and 18 deletions
+2 -1
View File
@@ -93,6 +93,7 @@ test = [
"setuptools",
"tomli_w",
"validate-pyproject",
"xdoctest",
]
dev = [
{include-group = "bin"},
@@ -103,7 +104,7 @@ dev = [
[tool.pytest.ini_options]
minversion = "6.0"
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config", "--xdoctest", "--ignore-glob=*venv*"]
junit_family = "xunit2"
xfail_strict = true
filterwarnings = ["error"]