feat: support psycopg (#425)

This commit is contained in:
Waket Zheng
2025-02-26 17:11:31 +08:00
committed by GitHub
parent 0364ae3f83
commit 49bfbf4e6b
10 changed files with 218 additions and 26 deletions

View File

@@ -37,6 +37,9 @@ test_mysql:
test_postgres:
$(py_warn) TEST_DB="postgres://postgres:$(POSTGRES_PASS)@$(POSTGRES_HOST):$(POSTGRES_PORT)/test_\{\}" pytest -vv -s
test_psycopg:
$(py_warn) TEST_DB="psycopg://postgres:$(POSTGRES_PASS)@$(POSTGRES_HOST):$(POSTGRES_PORT)/test_\{\}" pytest -vv -s
_testall: test_sqlite test_postgres test_mysql
testall: deps _testall