forked from redis/redis-benchmarks-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
33 lines (27 loc) · 834 Bytes
/
tox.ini
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
27
28
29
30
31
32
33
[tox]
isolated_build = True
[tox:.package]
# note tox will use the same python version as under what tox is installed to package
# so unless this is python 3 you can require a given python version for the packaging
# environment via the basepython key
basepython = python3
[testenv:integration-tests]
deps = -r{toxinidir}/dev_requirements.txt
passenv = TST_BUILDER_X TST_RUNNER_X GH_TOKEN TST_REDIS_DIR
commands =
black --check redis_benchmarks_specification
flake8 redis_benchmarks_specification
coverage erase
coverage run --include=redis_benchmarks_specification/* -m pytest -ra {posargs}
coverage report -m
docker =
datasink
db_server
[docker:datasink]
image = redis/redis-stack-server:7.0.2-RC4
ports =
16379:6379/tcp
[docker:db_server]
image = redis/redis-stack-server:7.0.2-RC4
ports =
6380:6379/tcp