-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathtox.ini
More file actions
29 lines (26 loc) · 709 Bytes
/
Copy pathtox.ini
File metadata and controls
29 lines (26 loc) · 709 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
27
28
29
# 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]
skip_missing_interpreters = True
envlist =
py310
py311
py312
py313
py314
[testenv]
setenv =
BOTO_CONFIG = /tmp/nowhere
passenv =
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
commands =
pip install -e .[testing]
coverage run --source depot -m unittest discover -v
coverage report
[testenv:docs]
changedir = {toxinidir}/docs
commands = sphinx-build -b html -d _build/doctrees . _build/html
deps = -rdocs/requirements.txt