2020-12-15 16:54:49 -08:00
|
|
|
# tox configuration
|
|
|
|
[tox]
|
2021-12-15 23:30:31 -08:00
|
|
|
envlist = py3
|
2020-12-15 16:54:49 -08:00
|
|
|
skipsdist = True
|
|
|
|
|
|
|
|
[gh-actions]
|
|
|
|
python =
|
2021-12-27 13:48:25 -08:00
|
|
|
3.9: py3
|
2020-12-15 16:54:49 -08:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps =
|
|
|
|
pytest
|
|
|
|
pytest-xdist
|
2020-12-15 17:17:12 -08:00
|
|
|
pytest-split
|
2020-12-15 16:54:49 -08:00
|
|
|
cocotb
|
|
|
|
cocotb-test
|
|
|
|
cocotbext-axi
|
|
|
|
cocotbext-eth
|
|
|
|
cocotbext-pcie
|
|
|
|
scapy
|
|
|
|
|
|
|
|
commands =
|
|
|
|
pytest -n auto {posargs}
|
|
|
|
|
|
|
|
# pytest configuration
|
|
|
|
[pytest]
|
|
|
|
testpaths =
|
2021-09-13 01:38:16 -07:00
|
|
|
fpga
|
2021-09-09 16:01:26 -07:00
|
|
|
fpga/app
|
2021-09-13 01:38:16 -07:00
|
|
|
norecursedirs =
|
|
|
|
lib
|
|
|
|
app
|
2020-12-15 16:54:49 -08:00
|
|
|
addopts =
|
|
|
|
--import-mode=importlib
|