v2 (#186)
This commit is contained in:
16
tox.ini
16
tox.ini
@@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
envlist=flake8,py37,py38,py39,py310,py311,upy,benchmark
|
||||
envlist=flake8,py38,py39,py310,py311,py312,upy,benchmark
|
||||
skipsdist=True
|
||||
skip_missing_interpreters=True
|
||||
|
||||
@@ -10,12 +10,13 @@ python =
|
||||
3.9: py39
|
||||
3.10: py310
|
||||
3.11: py311
|
||||
3.12: py312
|
||||
pypy3: pypy3
|
||||
|
||||
[testenv]
|
||||
commands=
|
||||
pip install -e .
|
||||
pytest -p no:logging --cov=src --cov-config=.coveragerc --cov-branch --cov-report=term-missing --cov-report=xml
|
||||
pytest -p no:logging --cov=src --cov-config=.coveragerc --cov-branch --cov-report=term-missing --cov-report=xml tests
|
||||
deps=
|
||||
pytest
|
||||
pytest-cov
|
||||
@@ -24,12 +25,6 @@ deps=
|
||||
setenv=
|
||||
PYTHONPATH=libs/common
|
||||
|
||||
[testenv:flake8]
|
||||
deps=
|
||||
flake8
|
||||
commands=
|
||||
flake8 --ignore=W503 --exclude src/utemplate,tests/libs src tests examples
|
||||
|
||||
[testenv:upy]
|
||||
allowlist_externals=sh
|
||||
commands=sh -c "bin/micropython run_tests.py"
|
||||
@@ -55,3 +50,8 @@ commands=
|
||||
setenv=
|
||||
PATH={env:PATH}{:}../../bin
|
||||
|
||||
[testenv:flake8]
|
||||
deps=
|
||||
flake8
|
||||
commands=
|
||||
flake8 --ignore=W503 --exclude examples/templates/utemplate/templates src tests examples
|
||||
|
||||
Reference in New Issue
Block a user