mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
maybe declaring variables helps
This commit is contained in:
parent
ec3b5b6cbc
commit
5de4a0cfaf
11
.github/workflows/pr_checks.yaml
vendored
11
.github/workflows/pr_checks.yaml
vendored
@ -218,12 +218,19 @@ jobs:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
INVENTREE_DB_ENGINE: django.db.backends.postgresql
|
INVENTREE_DB_ENGINE: django.db.backends.postgresql
|
||||||
|
INVENTREE_DB_USER: ${{ env.INVENTREE_DB_USER }}
|
||||||
|
INVENTREE_DB_PASSWORD: ${{ env.INVENTREE_DB_PASSWORD }}
|
||||||
|
INVENTREE_DB_HOST: ${{ env.INVENTREE_DB_HOST }}
|
||||||
INVENTREE_DB_PORT: 5432
|
INVENTREE_DB_PORT: 5432
|
||||||
|
INVENTREE_DEBUG: ${{ env.INVENTREE_DEBUG }}
|
||||||
INVENTREE_CACHE_HOST: localhost
|
INVENTREE_CACHE_HOST: localhost
|
||||||
|
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres
|
image: postgres
|
||||||
|
env:
|
||||||
|
POSTGRES_USER: ${{ env.INVENTREE_DB_USER }}
|
||||||
|
POSTGRES_PASSWORD: ${{ env.INVENTREE_DB_PASSWORD }}
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
|
||||||
@ -265,7 +272,11 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
# Database backend configuration
|
# Database backend configuration
|
||||||
INVENTREE_DB_ENGINE: django.db.backends.mysql
|
INVENTREE_DB_ENGINE: django.db.backends.mysql
|
||||||
|
INVENTREE_DB_USER: ${{ env.INVENTREE_DB_USER }}
|
||||||
|
INVENTREE_DB_PASSWORD: ${{ env.INVENTREE_DB_PASSWORD }}
|
||||||
|
INVENTREE_DB_HOST: ${{ env.INVENTREE_DB_HOST }}
|
||||||
INVENTREE_DB_PORT: 3306
|
INVENTREE_DB_PORT: 3306
|
||||||
|
INVENTREE_DEBUG: ${{ env.INVENTREE_DEBUG }}
|
||||||
|
|
||||||
services:
|
services:
|
||||||
mysql:
|
mysql:
|
||||||
|
Loading…
Reference in New Issue
Block a user