-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
35 lines (33 loc) · 858 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
34
35
#
# Add versions of python you want to support in envlist, comma-delimited
#
# - check-manifest
# confirm items checked into vcs are in your sdist
# - python setup.py check (using the readme_renderer extension)
# confirms your long_description will render correctly on pypi
#
# and also to help confirm pull requests to this project.
[tox]
envlist = py{38}
[testenv]
setenv = PYTHONPATH = {toxinidir}/src
basepython =
py38: python3.8
deps =
black
; check-manifest
readme_renderer
flake8
pytest
pytest-mock
coverage
commands =
; check-manifest
pip install -r requirements.txt
; pip install -e .[tests]
pytest
; flake8 src tests
; python setup.py check -m -r -s
; https://robotpy.readthedocs.io/en/stable/guide/testing.html
python src/robot.py test
; python src/robot.py coverage sim;