ops: new approach to CI tests workflow

This commit is contained in:
Karim shoair
2025-06-28 17:40:19 +03:00
parent ee1a0828a2
commit ac3db69c47
2 changed files with 38 additions and 103 deletions
+3 -3
View File
@@ -10,11 +10,11 @@ envlist = pre-commit,py{39,310,311,312,313}
usedevelop = True
changedir = tests
deps =
playwright==1.52.0
rebrowser-playwright==1.52.0
camoufox
-r{toxinidir}/tests/requirements.txt
commands =
playwright install chromium
playwright install-deps chromium firefox
camoufox fetch --browserforge
# 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