From 116e8f26200c7ffe2e584bdb8f0fe30b4d08a8f6 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 08:57:37 +0000 Subject: [PATCH] fix: add debug output to CI workflow --- .gitea/workflows/ci.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index e6670b4..cfb17e1 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -20,11 +20,24 @@ jobs: with: python-version: '3.10' + - name: Debug - List files + run: | + ls -la + ls -la tests/ 2>/dev/null || echo "No tests/ directory" + + - name: Debug - List Python files + run: | + find . -name "*.py" -type f | head -20 + - name: Install dependencies run: | python -m pip install --upgrade pip pip install click rich pytest - - name: Run tests + - name: Run tests with verbose output run: | - python -m pytest tests/ -v + python -m pytest tests/ -v --tb=short 2>&1 || true + + - name: Check pytest return code + run: | + python -m pytest tests/ -v --tb=short