2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-01 17:41:33 +00:00

Duplicate import of the same data should *NOT* error out

This commit is contained in:
Oliver Walters
2021-04-25 12:30:14 +10:00
parent f8ec32c3f5
commit 5dbebf37b7
3 changed files with 3 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ jobs:
rm test_db.sqlite
invoke migrate
invoke import-records -f data.json
invoke import-records -f data.json
- name: Test Translations
run: invoke translate
- name: Check Migration Files

View File

@@ -57,3 +57,4 @@ jobs:
invoke export-records -f data.json
python3 ./InvenTree/manage.py flush --noinput
invoke import-records -f data.json
invoke import-records -f data.json

View File

@@ -53,3 +53,4 @@ jobs:
invoke export-records -f data.json
python3 ./InvenTree/manage.py flush --noinput
invoke import-records -f data.json
invoke import-records -f data.json