refactor envs

This commit is contained in:
Matthias 2021-12-02 13:29:01 +01:00
parent 0ce9e55933
commit f7b8cf2bb1
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -162,8 +162,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
INVENTREE_DB_NAME: './test_db.sqlite' INVENTREE_DB_ENGINE: sqlite3
INVENTREE_DB_ENGINE: django.db.backends.sqlite3
steps: steps:
- name: Checkout Code - name: Checkout Code
@ -187,7 +186,7 @@ jobs:
invoke migrate invoke migrate
invoke import-fixtures invoke import-fixtures
invoke export-records -f data.json invoke export-records -f data.json
rm test_db.sqlite rm ${{ env.INVENTREE_DB_NAME }}.sqlite
invoke migrate invoke migrate
invoke import-records -f data.json invoke import-records -f data.json
invoke import-records -f data.json invoke import-records -f data.json