test: Fix for Github CI
This commit is contained in:
@@ -15,7 +15,9 @@ 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 --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]
|
[testenv:pre-commit]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
|||||||
Reference in New Issue
Block a user