refactor env

This commit is contained in:
Matthias 2021-12-02 13:08:19 +01:00
parent 9718b6559e
commit 8f8a1bbdeb
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -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