mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Test import / export for MySQL and PostgreSQL
This commit is contained in:
parent
792ff16127
commit
4f9898fba5
7
.github/workflows/mysql.yaml
vendored
7
.github/workflows/mysql.yaml
vendored
@ -49,3 +49,10 @@ jobs:
|
||||
invoke install
|
||||
- name: Run Tests
|
||||
run: invoke test
|
||||
- name: Data Import Export
|
||||
run: |
|
||||
python3 ./InvenTree/manage.py flush --noinput
|
||||
invoke import-fixtures
|
||||
invoke export-records -f data.json
|
||||
python3 ./InvenTree/manage.py flush --noinput
|
||||
invoke import-records -f data.json
|
7
.github/workflows/postgresql.yaml
vendored
7
.github/workflows/postgresql.yaml
vendored
@ -45,3 +45,10 @@ jobs:
|
||||
invoke install
|
||||
- name: Run Tests
|
||||
run: invoke test
|
||||
- name: Data Import Export
|
||||
run: |
|
||||
python3 ./InvenTree/manage.py flush --noinput
|
||||
invoke import-fixtures
|
||||
invoke export-records -f data.json
|
||||
python3 ./InvenTree/manage.py flush --noinput
|
||||
invoke import-records -f data.json
|
Loading…
Reference in New Issue
Block a user