diff --git a/tox.ini b/tox.ini index 895f4028..84125baf 100644 --- a/tox.ini +++ b/tox.ini @@ -13,11 +13,10 @@ isolated_build = True # this issue is resolved by running pytest-cov within tox development mode, thus not creating an sdist usedevelop = true commands = -; Clean up coverage data and run the tests as well as the notebook tests. -; The latter are run only in this environment. +; Clean up coverage data and run the tests. +; Notebook tests are run in the env with the latest dependencies (see below). coverage erase pytest -n 4 --cov --cov-append --cov-report=term-missing tests - pytest -n 4 notebooks deps = pytest pytest-cov @@ -44,6 +43,9 @@ allowlist_externals = [testenv:py_latest_dependencies] commands = pytest +; Run the notebook tests with latest dependencies because the newer library versions have better features +; which some of the notebooks make use of + pytest notebooks deps = pytest ; NOTE: For some reason including this into setup.py makes things slow locally, fail silently on gitlab