Browse Source

Add databases to the testing matrix, take 5

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

+ 2
- 5
.github/workflows/django.yml View File

@ -25,7 +25,7 @@ jobs:
postgres: postgres:
image: postgres:10 image: postgres:10
env: env:
POSTGRES_USER: hc
POSTGRES_USER: postgres
POSTGRES_PASSWORD: hunter2 POSTGRES_PASSWORD: hunter2
options: >- options: >-
--health-cmd pg_isready --health-cmd pg_isready
@ -37,9 +37,7 @@ jobs:
mysql: mysql:
image: mysql:5.7 image: mysql:5.7
env: env:
MYSQL_USER: hc
MYSQL_PASSWORD: hunter2
MYSQL_RANDOM_ROOT_PASSWORD: yes
MYSQL_ROOT_PASSWORD: hunter2
ports: ports:
- 3306:3306 - 3306:3306
options: >- options: >-
@ -64,7 +62,6 @@ jobs:
DB: ${{ matrix.db }} DB: ${{ matrix.db }}
DB_HOST: 127.0.0.1 DB_HOST: 127.0.0.1
DB_PORT: ${{ matrix.db_port }} DB_PORT: ${{ matrix.db_port }}
DB_USER: hc
DB_PASSWORD: hunter2 DB_PASSWORD: hunter2
run: | run: |
python manage.py test python manage.py test

Loading…
Cancel
Save