From 4769a4352550ec5710da83cb43d35d9b41f66835 Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Sun, 22 Jun 2025 04:02:19 +0300 Subject: [PATCH] test: Fix for Github CI --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 0364f20..07b2831 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,9 @@ commands = playwright install chromium playwright install-deps chromium firefox camoufox fetch --browserforge - pytest --cov=scrapling --cov-report=xml -n auto --asyncio-mode=auto + # Test async tests without parallelization to escape Github CI issues with nested loops + pytest --cov=scrapling --cov-report=xml -m "asyncio" --verbose + pytest --cov=scrapling --cov-report=xml -m "not asyncio" -n auto --cov-append [testenv:pre-commit] basepython = python3