Fix postgres workflow

This commit is contained in:
Oliver Walters 2021-03-31 17:40:37 +11:00
parent f8d29b7b3b
commit 631e41e22a
2 changed files with 9 additions and 8 deletions

View File

@ -11,12 +11,13 @@ jobs:
services:
mysql:
image: mysql:5.7
image: mysql:latest
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: inventree_test_db
MYSQL_USER: inventree
MYSQL_PASSWORD: password
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: inventree_test_db
MYSQL_USER: inventree
MYSQL_PASSWORD: password
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3
ports:
- 3306

View File

@ -12,10 +12,10 @@ jobs:
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: password
env:
POSTGRES_PASSWORD: password
ports:
- 5432
- 5432
steps:
- name: Checkout Code