ci-testing
Some checks failed
Deploy on push / deploy (push) Failing after 1m11s

This commit is contained in:
2025-08-17 11:09:29 +03:00
parent 5876995838
commit 4b88a8c449
19 changed files with 2802 additions and 2559 deletions

View File

@@ -290,6 +290,8 @@ addopts = [
"--strict-markers", # Требовать регистрации всех маркеров
"--tb=short", # Короткий traceback
"-v", # Verbose output
"--asyncio-mode=auto", # Автоматическое обнаружение async тестов
"--disable-warnings", # Отключаем предупреждения для чистоты вывода
# "--cov=services,utils,orm,resolvers", # Измерять покрытие для папок
# "--cov-report=term-missing", # Показывать непокрытые строки
# "--cov-report=html", # Генерировать HTML отчет
@@ -299,11 +301,23 @@ markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
"unit: marks tests as unit tests",
"e2e: marks tests as end-to-end tests",
"browser: marks tests that require browser automation",
"api: marks tests that test API endpoints",
"db: marks tests that require database",
"redis: marks tests that require Redis",
"auth: marks tests that test authentication",
"skip_ci: marks tests to skip in CI environment",
]
# Настройки для pytest-asyncio
asyncio_mode = "auto" # Автоматическое обнаружение async тестов
asyncio_default_fixture_loop_scope = "function" # Область видимости event loop для фикстур
# Настройки для Playwright
playwright_browser = "chromium" # Используем Chromium для тестов
playwright_headless = true # В CI используем headless режим
playwright_timeout = 30000 # Таймаут для Playwright операций
[tool.coverage.run]
# Конфигурация покрытия тестами
source = ["services", "utils", "orm", "resolvers"]