2020-12-28 01:12:08 -08:00
|
|
|
# tox configuration
|
|
|
|
[tox]
|
2021-12-27 16:52:17 -08:00
|
|
|
envlist = py3
|
2020-12-28 01:12:08 -08:00
|
|
|
skipsdist = True
|
2021-12-27 16:53:30 -08:00
|
|
|
minversion = 3.2.0
|
|
|
|
requires = virtualenv >= 16.1
|
2020-12-28 01:12:08 -08:00
|
|
|
|
|
|
|
[gh-actions]
|
|
|
|
python =
|
2021-12-27 16:52:17 -08:00
|
|
|
3.9: py3
|
2020-12-28 01:12:08 -08:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps =
|
2021-12-27 16:54:20 -08:00
|
|
|
pytest == 6.2.5
|
|
|
|
pytest-xdist == 2.4.0
|
|
|
|
pytest-split == 0.4.0
|
|
|
|
cocotb == 1.6.1
|
|
|
|
cocotb-test == 0.2.1
|
|
|
|
cocotbext-axi == 0.1.16
|
|
|
|
cocotbext-eth == 0.1.18
|
|
|
|
scapy == 2.4.5
|
|
|
|
jinja2 == 3.0.3
|
2020-12-28 01:12:08 -08:00
|
|
|
|
|
|
|
commands =
|
2020-12-28 20:19:46 -08:00
|
|
|
pytest -n auto {posargs}
|
2020-12-28 01:12:08 -08:00
|
|
|
|
|
|
|
# pytest configuration
|
|
|
|
[pytest]
|
|
|
|
testpaths =
|
|
|
|
tb
|
|
|
|
example
|
2021-09-13 13:02:17 -07:00
|
|
|
norecursedirs =
|
|
|
|
lib
|
2020-12-28 01:12:08 -08:00
|
|
|
addopts =
|
|
|
|
--ignore-glob=tb/test_*.py
|
|
|
|
--import-mode importlib
|