mirror of
https://github.com/alexforencich/verilog-axi.git
synced 2025-01-28 07:02:56 +08:00
Add tox and pytest configuration
This commit is contained in:
parent
3d2364e19e
commit
8fb827a18b
30
tox.ini
Normal file
30
tox.ini
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# tox configuration
|
||||||
|
[tox]
|
||||||
|
envlist = py39
|
||||||
|
skipsdist = True
|
||||||
|
|
||||||
|
[gh-actions]
|
||||||
|
python =
|
||||||
|
3.9: py39
|
||||||
|
|
||||||
|
[testenv]
|
||||||
|
deps =
|
||||||
|
pytest
|
||||||
|
pytest-xdist
|
||||||
|
pytest-split
|
||||||
|
#cocotb
|
||||||
|
git+https://github.com/cocotb/cocotb.git@e892a3ea48#egg=cocotb
|
||||||
|
cocotb-test
|
||||||
|
cocotbext-axi
|
||||||
|
jinja2
|
||||||
|
|
||||||
|
commands =
|
||||||
|
pytest -n auto
|
||||||
|
|
||||||
|
# pytest configuration
|
||||||
|
[pytest]
|
||||||
|
testpaths =
|
||||||
|
tb
|
||||||
|
addopts =
|
||||||
|
--ignore-glob=tb/test_*.py
|
||||||
|
--import-mode importlib
|
Loading…
x
Reference in New Issue
Block a user