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:
co-authored by
Joe Rickerby
parent
8db3538534
commit
5952330610
+2
-1
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user