test: improve tox config
This commit is contained in:
@@ -15,6 +15,11 @@ deps =
|
||||
camoufox
|
||||
-r{toxinidir}/tests/requirements.txt
|
||||
extras = ai,shell
|
||||
commands_pre =
|
||||
# Install browsers in the tox virtual environment
|
||||
python -m playwright install chromium
|
||||
python -m playwright install-deps chromium firefox
|
||||
python -m camoufox fetch --browserforge
|
||||
commands =
|
||||
# Run browser tests without parallelization (avoid browser conflicts)
|
||||
pytest --cov=scrapling --cov-report=xml -k "DynamicFetcher or StealthyFetcher" --verbose
|
||||
|
||||
Reference in New Issue
Block a user