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
+4 -1
View File
@@ -1,4 +1,7 @@
[pytest]
asyncio_mode = auto
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-deps chromium firefox
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]
basepython = python3