diff options
-rw-r--r-- | .github/workflows/run-test.yaml | 3 | ||||
-rw-r--r-- | test/ext/asyncio/test_engine_py3k.py | 1 | ||||
-rw-r--r-- | tox.ini | 4 |
3 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/run-test.yaml b/.github/workflows/run-test.yaml index 7f6de8a21..0d9a8e9ed 100644 --- a/.github/workflows/run-test.yaml +++ b/.github/workflows/run-test.yaml @@ -46,6 +46,9 @@ jobs: # 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 diff --git a/test/ext/asyncio/test_engine_py3k.py b/test/ext/asyncio/test_engine_py3k.py index c75dd8665..0450e3054 100644 --- a/test/ext/asyncio/test_engine_py3k.py +++ b/test/ext/asyncio/test_engine_py3k.py @@ -232,6 +232,7 @@ class AsyncEngineTest(EngineFixture): is_false(async_engine == None) @async_test + @testing.requires.python37 async def test_no_attach_to_event_loop(self, testing_engine): """test #6409""" @@ -158,12 +158,16 @@ commands = # 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 |