Merge pull request #966 from element-hq/gaelg/max-asyncio-tasks
Some checks failed
Scripts linting / python (push) Has been cancelled
Scripts linting / cspell (push) Has been cancelled
GitHub Actions linting / action-validator (push) Has been cancelled
GitHub Actions linting / actionlint (push) Has been cancelled
GitHub Actions linting / pinned-actions (push) Has been cancelled
GitHub Actions linting / explicit-permissions (push) Has been cancelled
Artifact Hub Metadata / artifact-hub (push) Has been cancelled
Changelog / check-newsfile (push) Has been cancelled
Changelog / preview-changelog (push) Has been cancelled
matrix-tools linting and building / gofmt (push) Has been cancelled
matrix-tools linting and building / tests (push) Has been cancelled
Scripts linting / shellcheck (push) Has been cancelled
Helm Chart Building tests / no-changes-after-building (push) Has been cancelled
Helm Chart Building tests / helm-lint (push) Has been cancelled
Licensing & Copyright checks / reuse-licensing-and-copyright-checks (push) Has been cancelled
Run PyTest tests - Integration and Manifests / pytest-setup (push) Has been cancelled
Helm Chart packaging and releasing / helm-package (push) Has been cancelled
matrix-tools linting and building / Build matrix-tools container image (push) Has been cancelled
Run PyTest tests - Integration and Manifests / pytest-integration (push) Has been cancelled
Run PyTest tests - Integration and Manifests / pytest-manifests (push) Has been cancelled
Helm Chart packaging and releasing / release (push) Has been cancelled

pytest: set a maximum number of cooperative asyncio tasks.
This commit is contained in:
Gaël Goinvic 2026-01-08 17:49:27 +01:00 committed by GitHub
commit 8d1ce7a3af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 1 deletions

View file

@ -3,6 +3,7 @@ ansible
Ansible
appservices
Artifacthub
asyncio
checkov
deployables
dialog

View file

@ -1,4 +1,4 @@
Copyright 2025 New Vector Ltd
Copyright 2025 Element Creations Ltd
Copyright 2025-2026 Element Creations Ltd
SPDX-License-Identifier: AGPL-3.0-only

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