From 99ae69713a5b3b17ad4597e7491414fc4ee44d40 Mon Sep 17 00:00:00 2001 From: itqop Date: Sat, 19 Jul 2025 02:38:33 +0300 Subject: [PATCH] Try to resolve healthz error on CI --- .gitea/workflows/ci.yml | 2 +- src/tests/test_api.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 2dfd088..5b3039c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -37,4 +37,4 @@ jobs: run: ruff check . - name: Run Pytest - run: pytest + run: pytest -s diff --git a/src/tests/test_api.py b/src/tests/test_api.py index 7797084..deae14b 100644 --- a/src/tests/test_api.py +++ b/src/tests/test_api.py @@ -15,6 +15,7 @@ def test_health_endpoint(): response = client.get("/healthz") assert response.status_code == 200 data = response.json() + print("Health check response:", data) assert "status" in data assert data["status"] == "healthy"