From 9726d9e44329afbc4f1ccea862a21bfef0abe0c2 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 21:14:47 +0000 Subject: [PATCH] Debug and run tests --- .gitea/workflows/ci.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 28c8578..cd601b2 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -11,9 +11,17 @@ jobs: with: python-version: '3.11' - name: Install dependencies + run: pip install pytest pyyaml click rich jinja2 jsonschema prompt_toolkit tomli + - name: Debug directory run: | - pip install pytest pyyaml click rich jinja2 jsonschema prompt_toolkit tomli - - name: Debug tests - run: ls tests/ + pwd + ls -la + ls -la tests/ 2>/dev/null || echo "No tests directory" - name: Run tests - run: pytest tests/ -v --tb=short || true + run: | + if [ -d "tests" ]; then + pytest tests/ -v --tb=short || exit 1 + else + echo "No tests found" + exit 0 + fi