From 833130f220f2a0cbb6be34d5df930aeb00daf85d Mon Sep 17 00:00:00 2001 From: Franziska Zander Date: Sat, 7 Oct 2023 21:33:22 +0200 Subject: [PATCH] Update django.yml; add env for db #31 --- .github/workflows/django.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index c3b9202..fa44f56 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -16,6 +16,8 @@ jobs: python-version: ['3.10', 3.11] steps: + - env: + DATABASES: 'sqlite:////test_db.sqlite3' - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 @@ -27,7 +29,7 @@ jobs: export CPLUS_INCLUDE_PATH=/usr/include/gdal export C_INCLUDE_PATH=/usr/include/gdal python -m pip install --upgrade pip - pip install -r requirements/base.txt + pip install -r requirements/local.txt - name: Run mirgate run: | cd framework/