Skip to content

A lightweight yet powerful audio-to-MIDI converter with pitch bend detection

Reorganize tox

David Rubinstein2ab45278c3d7
diff --git a/tox.ini b/tox.ini
index 22f176d..fb20699 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py38,py39,py310,py311,minimal,manifest,check-formatting,lint,mypy
+envlist = py38,py39,py310,py311,full,manifest,check-formatting,lint,mypy
skipsdist = True
usedevelop = True
requires =
@@ -7,22 +7,22 @@ requires =
wheel
pip>=24
-# Tests with TF
+# Tests with the minimal package (either coreml/onnx/tflite)
[testenv]
-deps = -e .[dev]
+deps = -e .[test]
commands =
- pytest tests {posargs}
+ pytest tests --ignore tests/test_nn.py {posargs}
setenv =
SOURCE = {toxinidir}/basic_pitch
TEST_SOURCE = {toxinidir}/tests
LINE_LENGTH = "120"
-# Tests with the minimal package (either coreml/onnx/tflite)
-[testenv:minimal]
-deps = -e .[test]
-basepython=3.10
+# Tests with TF
+[testenv:full]
+deps = -e .[dev]
+basepython=3.8
commands =
- pytest tests --ignore tests/test_nn.py {posargs}
+ pytest tests {posargs}
setenv =
SOURCE = {toxinidir}/basic_pitch
TEST_SOURCE = {toxinidir}/tests