Skip to content

Commit

Permalink
Add tox configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Forencich <[email protected]>
  • Loading branch information
alexforencich committed Feb 3, 2025
1 parent c7f719b commit 51a2448
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# tox configuration
[tox]
envlist = py3
skipsdist = True
minversion = 3.2.0
requires = virtualenv >= 16.1

[gh-actions]
python =
3.13: py3

[testenv]
deps =
pytest == 8.3.4
pytest-xdist == 3.6.1
pytest-split == 0.10.0
cocotb == 1.9.2
cocotb-bus == 0.2.1
cocotb-test == 0.2.6
cocotbext-axi == 0.1.24
cocotbext-eth == 0.1.22
cocotbext-pcie == 0.2.14
cocotbext-uart == 0.1.2

commands =
pytest {posargs:-n auto --verbose}

# pytest configuration
[pytest]
testpaths =
tb
addopts =
--import-mode importlib

0 comments on commit 51a2448

Please sign in to comment.