From 87d4b50ff4a6865d7477c018b9e71aa7311e0afe Mon Sep 17 00:00:00 2001 From: Devansh Singh Date: Wed, 3 Jul 2024 21:47:45 +0530 Subject: [PATCH] .github/workflows/unit_tests.yaml: Add database env variable Add TEUTHOLOGY_API_SQLITE_URI environment variable to tox.ini and unit_tests.yaml Signed-off-by: Devansh Singh --- .github/workflows/unit_tests.yaml | 2 ++ tox.ini | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index f0e1f1a..96d8bbc 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -3,6 +3,8 @@ on: pull_request jobs: build: + env: + TEUTHOLOGY_API_SQLITE_URI: ${{ secrets.TEUTHOLOGY_API_SQLITE_URI }} name: Unit Tests on python${{ matrix.python }} via ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: diff --git a/tox.ini b/tox.ini index 69f8159..b0e5822 100644 --- a/tox.ini +++ b/tox.ini @@ -15,6 +15,7 @@ setenv = passenv = HOME SETUPTOOLS_* + TEUTHOLOGY_API_SQLITE_URI extras = testing commands =