-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathtox.ini
38 lines (33 loc) · 1.13 KB
/
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
34
35
36
37
38
[tox]
; put list of your test environments here:
envlist = py39, py311
; this parameter should be used if your project
; doesn't have setup.py file: http://stackoverflow.com/questions/18962403/how-do-i-run-tox-in-a-project-that-has-no-setup-py
skipsdist = False
[testenv]
; this line is needed for TC so it can parse tests from the build output :/
; tox does not copy the enviornment, except for the variables below
passenv = TEAMCITY_VERSION \
RUN_ALL_TESTS \
USER \
BOTO_CONFIG \
AWS_ACCESS_KEY_ID \
AWS_SECRET_ACCESS_KEY \
AWS_SECURITY_TOKEN \
AWS_SESSION_TOKEN \
AWS_DEFAULT_REGION \
BLAST_USAGE_REPORT \
CLOUDSDK_CONFIG \
CLOUDSDK_CORE_PROJECT \
CLOUDSDK_COMPUTE_ZONE
; provide path to your requirements file here:
deps =
-rrequirements/test.txt
commands =
pip install .
py.test
[pytest]
; put here your tests folder and module(s) to test
; for example: addopts = tests/ --cov my_module1 --cov my_module2 --cov-report term --cov-report html
; for more information see: https://pypi.python.org/pypi/pytest-cov
addopts = tests/ --cov=elastic_blast --cov-report term --cov-report html -x