mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-27 03:15:08 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user