mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-04 09:25:21 +00:00
Fix postgres workflow
This commit is contained in:
1 parent
f8d29b7b3b
commit
631e41e22a
2 files changed
+9
-8
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -12,10 +12,10 @@ jobs:
|
||||
services:
|
||||
postgres:
|
||||
image: postgres
|
||||
env:
|
||||
POSTGRES_PASSWORD: password
|
||||
env:
|
||||
POSTGRES_PASSWORD: password
|
||||
ports:
|
||||
- 5432
|
||||
- 5432
|
||||
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
|
||||
Reference in new issue
Block a user