Pēteris Caune
4 years ago
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2
1 changed files with
3 additions and
3 deletions
-
.github/workflows/django.yml
|
@ -17,7 +17,7 @@ jobs: |
|
|
|
|
|
|
|
|
services: |
|
|
services: |
|
|
postgres: |
|
|
postgres: |
|
|
image: postgres |
|
|
|
|
|
|
|
|
image: postgres:10 |
|
|
env: |
|
|
env: |
|
|
POSTGRES_PASSWORD: postgres |
|
|
POSTGRES_PASSWORD: postgres |
|
|
options: >- |
|
|
options: >- |
|
@ -32,7 +32,7 @@ jobs: |
|
|
env: |
|
|
env: |
|
|
MYSQL_ALLOW_EMPTY_PASSWORD: yes |
|
|
MYSQL_ALLOW_EMPTY_PASSWORD: yes |
|
|
ports: |
|
|
ports: |
|
|
- 3306 |
|
|
|
|
|
|
|
|
- 3306:3306 |
|
|
options: >- |
|
|
options: >- |
|
|
--health-cmd="mysqladmin ping" |
|
|
--health-cmd="mysqladmin ping" |
|
|
--health-interval=10s |
|
|
--health-interval=10s |
|
@ -53,7 +53,7 @@ jobs: |
|
|
- name: Run Tests |
|
|
- name: Run Tests |
|
|
env: |
|
|
env: |
|
|
DB: mysql |
|
|
DB: mysql |
|
|
DB_HOST: localhost |
|
|
|
|
|
|
|
|
DB_HOST: 127.0.0.1 |
|
|
DB_PORT: 3306 |
|
|
DB_PORT: 3306 |
|
|
DB_USER: root |
|
|
DB_USER: root |
|
|
run: | |
|
|
run: | |
|
|