Browse Source

Add mysql

pull/453/head
Pēteris Caune 4 years ago
parent
commit
38b9d30146
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
1 changed files with 14 additions and 4 deletions
  1. +14
    -4
      .github/workflows/django.yml

+ 14
- 4
.github/workflows/django.yml View File

@ -27,6 +27,17 @@ jobs:
--health-retries 5
ports:
- 5432:5432
mysql:
image: mysql:5.7
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
ports:
- 3306
options: >-
--health-cmd="mysqladmin ping"
--health-interval=10s
--health-timeout=5s
--health-retries=3
steps:
- uses: actions/checkout@v2
@ -41,10 +52,9 @@ jobs:
pip install braintree mysqlclient apprise
- name: Run Tests
env:
DB: postgres
DB: mysql
DB_HOST: localhost
DB_PORT: 5432
DB_USER: postgres
DB_PASSWORD: postgres
DB_PORT: 3306
DB_USER: root
run: |
python manage.py test

Loading…
Cancel
Save