1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

add default app_path, add app_path to CI

This commit is contained in:
thatmattlove
2021-12-06 17:23:57 -07:00
parent 5306a76f1f
commit b43ab14fdd
2 changed files with 6 additions and 1 deletions

View File

@@ -15,6 +15,8 @@ jobs:
python-version: [3.8, 3.9]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
env:
HYPERGLASS_APP_PATH: $HOME/hyperglass
steps:
- name: Git Checkout
@@ -40,6 +42,9 @@ jobs:
with:
redis-version: ${{ matrix.redis-version }}
- name: Prepare
run: mkdir ${{ env.HYPERGLASS_APP_PATH }}
- name: Install (Poetry)
run: poetry install

View File

@@ -37,7 +37,7 @@ class HyperglassSettings(BaseSettings):
debug: bool = False
dev_mode: bool = False
app_path: DirectoryPath
app_path: DirectoryPath = "/etc/hyperglass"
redis_host: str = "localhost"
redis_password: t.Optional[SecretStr]
redis_db: int = 1