forked from chaoss/augur
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
27 lines (24 loc) · 826 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
#SPDX-License-Identifier: MIT
# tox (https://tox.readthedocs.io/) 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 = py{,36,37,38}-{metric-routes,application, workers}
skip_missing_interpreters = true
[testenv]
passenv = AUGUR_*
whitelist_externals = make
/bin/bash
deps =
pytest
setenv =
AUGUR_LOG_DEBUG = 0
AUGUR_LOG_QUIET = 1
commands =
application: pytest tests --ignore=tests/test_routes --ignore=tests/test_workers
metric-routes: python tests/test_routes/runner.py
workers: pytest tests/test_workers/
worker-persistance: pytest test/test_workers/worker_persistance/
[pytest]
addopts = -ra -s