feat: support psycopg (#425)
This commit is contained in:
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@@ -89,14 +89,21 @@ jobs:
|
||||
POSTGRES_PORT: 5432
|
||||
run: poetry run make _testall
|
||||
- name: Verify aiomysql support
|
||||
# Only check the latest version of tortoise
|
||||
if: matrix.tortoise-orm == 'tortoise024'
|
||||
run: |
|
||||
poetry run pip uninstall -y asyncmy
|
||||
poetry run pip install aiomysql
|
||||
poetry run make test_mysql
|
||||
poetry run pip uninstall -y aiomysql
|
||||
poetry run pip install asyncmy
|
||||
env:
|
||||
MYSQL_PASS: root
|
||||
MYSQL_HOST: 127.0.0.1
|
||||
MYSQL_PORT: 3306
|
||||
- name: Verify psycopg support
|
||||
# Only check the latest version of tortoise
|
||||
if: matrix.tortoise-orm == 'tortoise024'
|
||||
run: poetry run make test_psycopg
|
||||
env:
|
||||
POSTGRES_PASS: 123456
|
||||
POSTGRES_HOST: 127.0.0.1
|
||||
POSTGRES_PORT: 5432
|
||||
|
||||
Reference in New Issue
Block a user