mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
refactor env
This commit is contained in:
parent
9718b6559e
commit
8f8a1bbdeb
13
.github/workflows/mysql.yaml
vendored
13
.github/workflows/mysql.yaml
vendored
@ -8,12 +8,7 @@ on:
|
|||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
|
|
||||||
jobs:
|
env:
|
||||||
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
env:
|
|
||||||
# Database backend configuration
|
# Database backend configuration
|
||||||
INVENTREE_DB_ENGINE: django.db.backends.mysql
|
INVENTREE_DB_ENGINE: django.db.backends.mysql
|
||||||
INVENTREE_DB_NAME: inventree
|
INVENTREE_DB_NAME: inventree
|
||||||
@ -25,6 +20,12 @@ jobs:
|
|||||||
INVENTREE_MEDIA_ROOT: ./media
|
INVENTREE_MEDIA_ROOT: ./media
|
||||||
INVENTREE_STATIC_ROOT: ./static
|
INVENTREE_STATIC_ROOT: ./static
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
services:
|
services:
|
||||||
mysql:
|
mysql:
|
||||||
image: mysql:latest
|
image: mysql:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user