3
0
Fork 0

test: add 'nodb' test runner

ensure things work as expected if sqlalchemy is not installed
This commit is contained in:
Lance Edgar 2024-07-04 08:00:42 -05:00
parent 132073177c
commit f5825e964c
5 changed files with 193 additions and 148 deletions

View file

@ -1,6 +1,6 @@
[tox]
envlist = py36, py37, py38, py39, py310, py311
envlist = py36, py37, py38, py39, py310, py311, nodb
# TODO: can remove this when we drop py36 support
# nb. need this for testing older python versions
@ -15,6 +15,9 @@ commands = pytest {posargs}
# nb. newer coverage is causing segfault for this one, so must avoid that
deps = coverage<6.5
[testenv:nodb]
extras = tests
[testenv:coverage]
basepython = python3.11
extras = db,tests