From 8363b61b8ad6c6f0d96b2802f942a32186ea4e76 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 21:15:30 +0000 Subject: [PATCH] Proper CI workflow --- .gitea/workflows/ci.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index cd601b2..7a66411 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -11,17 +11,14 @@ 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: | - pwd - ls -la - ls -la tests/ 2>/dev/null || echo "No tests directory" + pip install --upgrade pip + pip install pytest pyyaml click rich jinja2 jsonschema prompt_toolkit tomli - name: Run tests run: | if [ -d "tests" ]; then - pytest tests/ -v --tb=short || exit 1 + pytest tests/ -v --tb=short else - echo "No tests found" - exit 0 + echo "No tests directory found" + exit 1 fi