mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-14 18:12:35 +08:00
Install libmysqlclient-dev
This commit is contained in:
8
.github/workflows/sqlalchemy.yaml
vendored
8
.github/workflows/sqlalchemy.yaml
vendored
@ -2,6 +2,8 @@ name: SQLAlchemy compat test
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -31,10 +33,10 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-sqla-pip-
|
${{ runner.os }}-sqla-pip-
|
||||||
|
|
||||||
- name: Set up Python 3.10
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: "3.10"
|
python-version: "3.9"
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -45,6 +47,8 @@ jobs:
|
|||||||
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: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install libmysqlclient-dev
|
||||||
pip install -U pytest pytest-cov
|
pip install -U pytest pytest-cov
|
||||||
#python setup.py develop
|
#python setup.py develop
|
||||||
pip install mysqlclient # Use stable version
|
pip install mysqlclient # Use stable version
|
||||||
|
Reference in New Issue
Block a user