ci: run the unit suite in parallel and keep it off the network

Test servers shut down without the 0.5s poll wait, unit tests refuse non-loopback lookups, and three load-sensitive tests are steadied. Pushes to dev test Python 3.11 only; the docs job builds with uv.
This commit is contained in:
imSp4rky
2026-10-13 19:31:23 -06:00
parent 6b04d7b137
commit 9f82777394
13 changed files with 117 additions and 39 deletions
+3
View File
@@ -99,6 +99,7 @@ test = [
"pytest>=8.3.0,<9",
"pytest-asyncio>=0.24.0,<1",
"pytest-aiohttp>=1.0.5,<2",
"pytest-xdist>=3.6.0,<4",
"responses>=0.25.0,<1",
"PyYAML>=6.0.1,<7",
]
@@ -121,6 +122,8 @@ filterwarnings = [
"ignore::bs4.XMLParsedAsHTMLWarning",
]
addopts = "-ra --strict-markers"
# dumps every thread's stack for a test that hangs; the CI job timeout alone leaves no trace
faulthandler_timeout = 120
[tool.hatch.metadata]
allow-direct-references = true