Add tox.ini
This commit is contained in:
parent
a0a5ccc0a4
commit
0e0e9da047
32
tox.ini
Normal file
32
tox.ini
Normal file
@ -0,0 +1,32 @@
|
||||
# tox configuration
|
||||
[tox]
|
||||
envlist = py39
|
||||
skipsdist = True
|
||||
|
||||
[gh-actions]
|
||||
python =
|
||||
3.9: py39
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
pytest
|
||||
pytest-xdist
|
||||
pytest-split
|
||||
#cocotb
|
||||
git+https://github.com/cocotb/cocotb.git@e892a3ea48#egg=cocotb
|
||||
cocotb-test
|
||||
cocotbext-axi
|
||||
cocotbext-pcie
|
||||
|
||||
commands =
|
||||
pytest -n auto {posargs}
|
||||
|
||||
# pytest configuration
|
||||
[pytest]
|
||||
testpaths =
|
||||
tb
|
||||
example
|
||||
addopts =
|
||||
--ignore-glob=tb/test_*.py
|
||||
--ignore-glob=*lib*
|
||||
--import-mode importlib
|
Loading…
x
Reference in New Issue
Block a user