From f7b8cf2bb17ea1c145221dee5ee00349a125b35e Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 2 Dec 2021 13:29:01 +0100 Subject: [PATCH] refactor envs --- .github/workflows/pr_checks.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr_checks.yaml b/.github/workflows/pr_checks.yaml index 207da15b64..ab828458fa 100644 --- a/.github/workflows/pr_checks.yaml +++ b/.github/workflows/pr_checks.yaml @@ -162,8 +162,7 @@ jobs: runs-on: ubuntu-latest env: - INVENTREE_DB_NAME: './test_db.sqlite' - INVENTREE_DB_ENGINE: django.db.backends.sqlite3 + INVENTREE_DB_ENGINE: sqlite3 steps: - name: Checkout Code @@ -187,7 +186,7 @@ jobs: invoke migrate invoke import-fixtures invoke export-records -f data.json - rm test_db.sqlite + rm ${{ env.INVENTREE_DB_NAME }}.sqlite invoke migrate invoke import-records -f data.json invoke import-records -f data.json