CI: set db host for tests
All checks were successful
/ test (push) Successful in 25s
/ build (push) Successful in 6s

This commit is contained in:
phil 2024-12-08 05:57:04 +01:00
parent 4a54a815a0
commit 8bfb410ee1
4 changed files with 7 additions and 6 deletions

View file

@ -33,7 +33,7 @@ jobs:
run: uv pip install --python=$UV_PROJECT_ENVIRONMENT --no-deps .
- name: Run tests (API call)
run: pytest -s tests/basic.py
run: TREETRAIL_DB_HOST=treetrail-database pytest -s tests/basic.py
build:
runs-on: container

View file

@ -31,4 +31,4 @@ jobs:
run: uv pip install --python=$UV_PROJECT_ENVIRONMENT --no-deps .
- name: Run tests (API call)
run: pytest -s tests/basic.py
run: TREETRAIL_DB_HOST=treetrail-database pytest -s tests/basic.py