From 5dbebf37b7c30c9d600876ac04e6381f6caf4c33 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 25 Apr 2021 12:30:14 +1000 Subject: [PATCH] Duplicate import of the same data should *NOT* error out --- .github/workflows/coverage.yaml | 1 + .github/workflows/mysql.yaml | 1 + .github/workflows/postgresql.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index d903b737e4..ad5f7a841e 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -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 diff --git a/.github/workflows/mysql.yaml b/.github/workflows/mysql.yaml index e4fd7ed81d..087a866fbd 100644 --- a/.github/workflows/mysql.yaml +++ b/.github/workflows/mysql.yaml @@ -56,4 +56,5 @@ jobs: invoke import-fixtures invoke export-records -f data.json python3 ./InvenTree/manage.py flush --noinput + invoke import-records -f data.json invoke import-records -f data.json \ No newline at end of file diff --git a/.github/workflows/postgresql.yaml b/.github/workflows/postgresql.yaml index 3938457722..ae8f52b962 100644 --- a/.github/workflows/postgresql.yaml +++ b/.github/workflows/postgresql.yaml @@ -52,4 +52,5 @@ jobs: invoke import-fixtures invoke export-records -f data.json python3 ./InvenTree/manage.py flush --noinput + invoke import-records -f data.json invoke import-records -f data.json \ No newline at end of file