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
|
2021-12-08 17:28:28 +01:00
|
|
|
minversion = 3.2.0
|
|
|
|
requires = virtualenv >= 16.1
|
2020-12-15 16:54:49 -08:00
|
|
|
|
|
|
|
[gh-actions]
|
|
|
|
python =
|
2021-12-27 13:48:25 -08:00
|
|
|
3.9: py3
|
2020-12-15 16:54:49 -08:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps =
|
2021-12-06 12:02:56 +01:00
|
|
|
pytest == 6.2.5
|
|
|
|
pytest-xdist == 2.4.0
|
|
|
|
pytest-split == 0.4.0
|
2021-12-27 16:11:41 -08:00
|
|
|
cocotb == 1.6.1
|
2021-12-06 12:02:56 +01:00
|
|
|
cocotb-test == 0.2.1
|
2021-12-28 20:29:40 -08:00
|
|
|
cocotbext-axi == 0.1.18
|
2021-12-06 12:02:56 +01:00
|
|
|
cocotbext-eth == 0.1.18
|
2022-03-15 21:51:56 -07:00
|
|
|
cocotbext-pcie == 0.1.22
|
2021-12-06 12:02:56 +01:00
|
|
|
scapy == 2.4.5
|
2020-12-15 16:54:49 -08:00
|
|
|
|
|
|
|
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
|