2020-12-19 14:11:23 -08:00
|
|
|
# tox configuration
|
|
|
|
[tox]
|
2021-12-27 13:52:23 -08:00
|
|
|
envlist = py3
|
2020-12-19 14:11:23 -08:00
|
|
|
skipsdist = True
|
|
|
|
|
|
|
|
[gh-actions]
|
|
|
|
python =
|
2021-12-27 13:52:23 -08:00
|
|
|
3.9: py3
|
2020-12-19 14:11:23 -08:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps =
|
|
|
|
pytest
|
|
|
|
pytest-xdist
|
|
|
|
pytest-split
|
2021-03-17 22:54:46 -07:00
|
|
|
cocotb
|
2020-12-19 14:11:23 -08:00
|
|
|
cocotb-test
|
|
|
|
cocotbext-axi
|
|
|
|
cocotbext-pcie
|
|
|
|
|
|
|
|
commands =
|
|
|
|
pytest -n auto {posargs}
|
|
|
|
|
|
|
|
# pytest configuration
|
|
|
|
[pytest]
|
|
|
|
testpaths =
|
|
|
|
tb
|
|
|
|
example
|
2021-09-13 13:00:03 -07:00
|
|
|
norecursedirs =
|
|
|
|
lib
|
2020-12-19 14:11:23 -08:00
|
|
|
addopts =
|
|
|
|
--ignore-glob=tb/test_*.py
|
|
|
|
--import-mode importlib
|