mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-07 19:01:17 +00:00
Test import / export for MySQL and PostgreSQL
This commit is contained in:
1 parent
792ff16127
commit
4f9898fba5
2 files changed
+16
-2
No files matched your search
@@ -48,4 +48,11 @@ jobs:
|
||||
pip3 install mysqlclient
|
||||
invoke install
|
||||
- name: Run Tests
|
||||
run: invoke test
|
||||
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
|
||||
@@ -44,4 +44,11 @@ jobs:
|
||||
pip3 install psycopg2
|
||||
invoke install
|
||||
- name: Run Tests
|
||||
run: invoke test
|
||||
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
|
||||
Reference in new issue
Block a user