test: fix for Github CI
This commit is contained in:
+4
-1
@@ -1,4 +1,7 @@
|
|||||||
[pytest]
|
[pytest]
|
||||||
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
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user