test: fix for Github CI

This commit is contained in:
Karim shoair
2025-06-22 03:07:46 +03:00
parent 8b46e3a3a5
commit 8100a2a865
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -2,3 +2,6 @@
asyncio_mode = auto asyncio_mode = auto
asyncio_default_fixture_loop_scope = function asyncio_default_fixture_loop_scope = function
addopts = -p no:warnings --doctest-modules --ignore=setup.py --verbose addopts = -p no:warnings --doctest-modules --ignore=setup.py --verbose
markers =
asyncio: marks tests as async
asyncio_fixture_scope = function
+1 -1
View File
@@ -15,7 +15,7 @@ commands =
playwright install chromium playwright install chromium
playwright install-deps chromium firefox playwright install-deps chromium firefox
camoufox fetch --browserforge camoufox fetch --browserforge
pytest --cov=scrapling --cov-report=xml -n auto pytest --cov=scrapling --cov-report=xml -n auto --asyncio-mode=auto
[testenv:pre-commit] [testenv:pre-commit]
basepython = python3 basepython = python3