test: add 'nodb' test runner
ensure things work as expected if sqlalchemy is not installed
This commit is contained in:
parent
132073177c
commit
f5825e964c
5 changed files with 193 additions and 148 deletions
5
tox.ini
5
tox.ini
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue