Fix tox config and lock package versions

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich
2023-01-20 15:37:51 -08:00
parent a22123649c
commit 79991205b5

View File

@@ -49,7 +49,7 @@ addopts =
[tox:tox]
envlist = py37, py38, py39, py310
skip_missing_interpreters = true
minversion = 3.2.0
minversion = 3.18.0
requires = virtualenv >= 16.1
[gh-actions]
@@ -64,17 +64,21 @@ setenv =
COVERAGE=1
deps =
pytest
pytest-xdist
cocotb-test
coverage
pytest-cov
pytest == 7.2.1
pytest-xdist == 3.1.0
cocotb == 1.6.2
cocotb-bus == 0.2.1
cocotb-test == 0.2.2
cocotbext-axi == 0.1.18
coverage == 5.5
pytest-cov == 4.0.0
commands =
pytest --cov=cocotbext --cov=tests --cov-branch -n auto
pytest --cov=cocotbext --cov=tests --cov-branch {posargs:-n auto --verbose}
bash -c 'find . -type f -name "\.coverage" | xargs coverage combine --append'
coverage report
whitelist_externals =
allowlist_externals =
bash
# combine if paths are different