Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,11 @@ jobs:
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
services:
mysql:
image: mysql:8.0
ports:
- 3306:3306
env:
MYSQL_DATABASE: mysqldb_test
MYSQL_ROOT_PASSWORD: secretsecret
options: --health-cmd "mysqladmin ping -h localhost" --health-interval 20s --health-timeout 10s --health-retries 10
steps:
- name: Start MySQL
run: |
sudo systemctl start mysql.service
mysql -uroot -proot -e "CREATE DATABASE mysqldb_test"
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
Expand Down
2 changes: 1 addition & 1 deletion tests/actions.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ host = 127.0.0.1
port = 3306
user = root
database = mysqldb_test
password = secretsecret
password = root
default-character-set = utf8mb4