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 =
|
2023-01-26 16:43:01 -08:00
|
|
|
3.10: py3
|
2020-12-15 16:54:49 -08:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps =
|
2023-01-26 16:43:01 -08:00
|
|
|
pytest == 7.2.1
|
|
|
|
pytest-xdist == 3.1.0
|
2022-09-20 21:42:57 -07:00
|
|
|
pytest-split == 0.8.0
|
2023-01-26 16:43:01 -08:00
|
|
|
cocotb == 1.7.2
|
2022-09-20 21:42:57 -07:00
|
|
|
cocotb-bus == 0.2.1
|
2023-01-26 16:43:01 -08:00
|
|
|
cocotb-test == 0.2.4
|
2023-03-24 11:12:17 -07:00
|
|
|
cocotbext-axi == 0.1.24
|
2023-11-10 19:21:05 -08:00
|
|
|
cocotbext-eth == 0.1.22
|
2023-06-25 18:56:53 -07:00
|
|
|
cocotbext-pcie == 0.2.14
|
2023-01-26 16:43:01 -08:00
|
|
|
scapy == 2.5.0
|
2020-12-15 16:54:49 -08:00
|
|
|
|
|
|
|
commands =
|
2023-01-26 16:43:01 -08:00
|
|
|
pytest {posargs:-n auto --verbose}
|
2020-12-15 16:54:49 -08:00
|
|
|
|
|
|
|
# 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
|