mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 02:54:29 +08:00
test
This commit is contained in:
9
.github/workflows/sqlalchemy.yaml
vendored
9
.github/workflows/sqlalchemy.yaml
vendored
@ -31,15 +31,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: "3.9"
|
python-version: "3.9"
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
with:
|
# with:
|
||||||
fetch-depth: 2
|
# fetch-depth: 2
|
||||||
|
|
||||||
- name: Install mysqlclient
|
- name: Install mysqlclient
|
||||||
env:
|
env:
|
||||||
PIP_NO_PYTHON_VERSION_WARNING: 1
|
PIP_NO_PYTHON_VERSION_WARNING: 1
|
||||||
PIP_DISABLE_PIP_VERSION_CHECK: 1
|
PIP_DISABLE_PIP_VERSION_CHECK: 1
|
||||||
run: |
|
run: |
|
||||||
|
pwd
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install libmysqlclient-dev
|
sudo apt-get install libmysqlclient-dev
|
||||||
pip install -U pytest pytest-cov
|
pip install -U pytest pytest-cov
|
||||||
@ -54,4 +55,6 @@ jobs:
|
|||||||
tar xf SQLAlchemy-1.4.35.tar.gz
|
tar xf SQLAlchemy-1.4.35.tar.gz
|
||||||
cd SQLAlchemy-1.4.35
|
cd SQLAlchemy-1.4.35
|
||||||
pip install .
|
pip install .
|
||||||
|
pwd
|
||||||
|
python -c 'import MySQLdb'
|
||||||
pytest --dburi=mysql://scott:tiger@127.0.0.1:3306/test_schema?charset=utf8mb4 test/
|
pytest --dburi=mysql://scott:tiger@127.0.0.1:3306/test_schema?charset=utf8mb4 test/
|
||||||
|
Reference in New Issue
Block a user