Skip to content

Commit

Permalink
Run notebook tests with latest dependencies (because of better features)
Browse files Browse the repository at this point in the history
  • Loading branch information
opcode81 committed Aug 13, 2024
1 parent 9c81fe3 commit b480cbb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 -n 4 notebooks
deps =
pytest
; NOTE: For some reason including this into setup.py makes things slow locally, fail silently on gitlab
Expand Down

0 comments on commit b480cbb

Please sign in to comment.