Skip to content

Commit

Permalink
.github/workflows/unit_tests.yaml: Add database env variable
Browse files Browse the repository at this point in the history
Add TEUTHOLOGY_API_SQLITE_URI environment variable to tox.ini
and unit_tests.yaml

Signed-off-by: Devansh Singh <[email protected]>
  • Loading branch information
Devansh3712 committed Jul 3, 2024
1 parent e33dcbb commit 87d4b50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ setenv =
passenv =
HOME
SETUPTOOLS_*
TEUTHOLOGY_API_SQLITE_URI
extras =
testing
commands =
Expand Down

0 comments on commit 87d4b50

Please sign in to comment.