pytest: set a maximum number of cooperative asyncio tasks.

This commit is contained in:
Gaël Goinvic 2026-01-08 17:24:09 +01:00
parent 6e82b5e014
commit 74087f8e2e
No known key found for this signature in database
GPG key ID: 1432A13D0F88CEAF
2 changed files with 2 additions and 0 deletions

View file

@ -0,0 +1 @@
CI: Set a maximum number of cooperative asyncio tasks.

View file

@ -51,6 +51,7 @@ build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
# we use asyncio-cooperative
addopts = "-p no:asyncio --strict-markers"
max_asyncio_tasks = 32
[tool.ruff]
line-length = 120