Fix tox config and lock package versions
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
20
setup.cfg
20
setup.cfg
@@ -49,7 +49,7 @@ addopts =
|
|||||||
[tox:tox]
|
[tox:tox]
|
||||||
envlist = py37, py38, py39, py310
|
envlist = py37, py38, py39, py310
|
||||||
skip_missing_interpreters = true
|
skip_missing_interpreters = true
|
||||||
minversion = 3.2.0
|
minversion = 3.18.0
|
||||||
requires = virtualenv >= 16.1
|
requires = virtualenv >= 16.1
|
||||||
|
|
||||||
[gh-actions]
|
[gh-actions]
|
||||||
@@ -64,17 +64,21 @@ setenv =
|
|||||||
COVERAGE=1
|
COVERAGE=1
|
||||||
|
|
||||||
deps =
|
deps =
|
||||||
pytest
|
pytest == 7.2.1
|
||||||
pytest-xdist
|
pytest-xdist == 3.1.0
|
||||||
cocotb-test
|
cocotb == 1.6.2
|
||||||
coverage
|
cocotb-bus == 0.2.1
|
||||||
pytest-cov
|
cocotb-test == 0.2.2
|
||||||
|
cocotbext-axi == 0.1.18
|
||||||
|
coverage == 5.5
|
||||||
|
pytest-cov == 4.0.0
|
||||||
|
|
||||||
commands =
|
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'
|
bash -c 'find . -type f -name "\.coverage" | xargs coverage combine --append'
|
||||||
|
coverage report
|
||||||
|
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
bash
|
bash
|
||||||
|
|
||||||
# combine if paths are different
|
# combine if paths are different
|
||||||
|
|||||||
Reference in New Issue
Block a user