forked from VUnit/vunit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
31 lines (27 loc) · 1.08 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
[tox]
envlist = py{36,37,38}-fmt, py{35,36,37,38}-{unit}, py{35,36,37,38}-{lint,docs}, py{35,36,37,38}-{acceptance,vcomponents}-{activehdl,ghdl,modelsim,rivierapro}
skip_missing_interpreters = True
[testenv]
recreate=True
passenv=ALDEC_LICENSE_FILE
deps=
fmt: black
pytest
lint: pycodestyle
lint: pylint
docs: docutils
docs: sphinx
docs: sphinx-argparse
docs: ablog
setenv=
acceptance-activehdl: VUNIT_SIMULATOR=activehdl
acceptance-ghdl: VUNIT_SIMULATOR=ghdl
acceptance-modelsim: VUNIT_SIMULATOR=modelsim
acceptance-rivierapro: VUNIT_SIMULATOR=rivierapro
commands=
fmt: {envpython} -m black ./ --exclude 'vunit\/vhdl\/JSON-for-VHDL|\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|_build|buck-out|build|dist' {posargs}
unit: {envpython} -m pytest -v tests/unit
lint: {envpython} -m pytest -v tests/lint
docs: {envpython} tools/build_docs.py {envtmpdir}/docsbuild
acceptance: {envpython} -m pytest -v tests/acceptance
vcomponents: {envpython} vunit/vhdl/verification_components/run.py --clean