Fixes: #6967
Change-Id: I222cb5bdedf572e734c827d72bcbced202cdd62f
# autocommit tests fail on the ci for some reason
- python-version: "pypy3"
pytest-args: "-k 'not test_autocommit_on and not test_turn_autocommit_off_via_default_iso_level and not test_autocommit_isolation_level'"
+ # add aiosqlite on linux
+ - os: "ubuntu-latest"
+ pytest-args: "--dbdriver pysqlite --dbdriver aiosqlite"
exclude:
# c-extensions fail to build on windows for python 2.7
is_false(async_engine == None)
@async_test
+ @testing.requires.python37
async def test_no_attach_to_event_loop(self, testing_engine):
"""test #6409"""
# command run in the github action when cext are active.
[testenv:github-cext]
+deps = {[testenv]deps}
+ .[aiosqlite]
commands=
python -m pytest {env:WORKERS} {env:SQLITE:} {env:POSTGRESQL:} {env:MYSQL:} {env:ORACLE:} {env:MSSQL:} {env:BACKENDONLY:} {env:IDENTS:} {env:MEMUSAGE:} {env:COVERAGE:} {posargs}
oracle,mssql,sqlite_file: python reap_dbs.py db_idents.txt
# command run in the github action when cext are not active.
[testenv:github-nocext]
+deps = {[testenv]deps}
+ .[aiosqlite]
commands=
python -m pytest {env:WORKERS} {env:SQLITE:} {env:POSTGRESQL:} {env:MYSQL:} {env:ORACLE:} {env:MSSQL:} {env:BACKENDONLY:} {env:IDENTS:} {env:MEMUSAGE:} {env:COVERAGE:} {posargs}
oracle,mssql,sqlite_file: python reap_dbs.py db_idents.txt