Test import / export for MySQL and PostgreSQL

This commit is contained in:
Oliver Walters 2021-04-25 10:30:31 +10:00
parent 792ff16127
commit 4f9898fba5
2 changed files with 16 additions and 2 deletions

View File

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

View File

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