You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `.env` file is gitignored and only consumed by local commands (via `uv run --env-file .env`). In production the container receives env vars from the orchestration layer, so `.env` is also excluded from the Docker image via `.dockerignore`.
25
+
26
+
## Run healthcheck locally
27
+
28
+
```bash
29
+
uv run --env-file .env healthcheck.py --port 8085
32
30
```
33
31
34
32
## Tests
35
33
36
-
To run the tests:
34
+
Run the tests:
35
+
36
+
```bash
37
+
uv run --env-file .env.test -m unittest tests/*.py -v
38
+
```
39
+
40
+
Tests use placeholder URLs that only need to satisfy `config.py` validation — they are intentionally kept inline rather than in `.env` so they cannot be confused with real local infra values.
41
+
42
+
Run the tests with coverage:
37
43
44
+
```bash
45
+
uv run --env-file .env.test coverage run -m unittest tests/*.py
0 commit comments