mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
refactor envs
This commit is contained in:
parent
0ce9e55933
commit
f7b8cf2bb1
5
.github/workflows/pr_checks.yaml
vendored
5
.github/workflows/pr_checks.yaml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user