forked from scrapy-plugins/scrapy-splash
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
26 lines (23 loc) · 704 Bytes
/
tox.ini
File metadata and controls
26 lines (23 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py37,py38,py39,py310,py311
[common]
deps =
pytest >= 3.3.2
pytest-cov >= 2.5.1
pytest-twisted >= 1.6
pytest-xdist >= 1.22
hypothesis >= 3.44.14
hypothesis-pytest
service_identity
[testenv]
passenv = SPLASH_URL
deps =
{[common]deps}
scrapy
commands =
pip install -e .
py.test --doctest-modules --doctest-glob '*.py,*.rst' --cov=scrapy_splash --cov-report=xml {posargs:README.rst scrapy_splash tests}