Add CLI, with init-db; tweak db container; misc minor tweaks in code for the init-db
Some checks failed
/ test (push) Failing after 31s

This commit is contained in:
phil 2024-12-15 19:19:35 +01:00
parent a94d27db0c
commit 98d67f0226
11 changed files with 239 additions and 57 deletions

View file

@ -30,5 +30,8 @@ jobs:
- name: Install app with 'uv pip install'
run: uv pip install --python=$UV_PROJECT_ENVIRONMENT --no-deps .
- name: Initialize database
run: GISAF__DB__HOST=gisaf-database gisaf create-db
- name: Run tests (API call)
run: GISAF__DB__HOST=gisaf-database pytest -s tests/basic.py