Install libmysqlclient-dev

This commit is contained in:
Inada Naoki
2021-10-20 16:39:24 +09:00
parent c3e028bc3c
commit fecd135e47

View File

@ -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