From cd7b0ec04c89db406da0482fb0961e7f802b6535 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sat, 31 Jan 2026 02:00:56 +0000 Subject: [PATCH] CI workflow - run tests --- .gitea/workflows/ci.yml | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 1f0264b..4ddb4e4 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -17,32 +17,15 @@ jobs: with: python-version: '3.11' - - name: Show directory structure - run: | - echo "=== Directory structure ===" - ls -la - echo "=== Root files ===" - ls -la - - - name: Check if tests exist - run: | - echo "=== Tests directory ===" - if [ -d "tests" ]; then - ls -la tests/ - else - echo "No tests directory found" - fi - - - name: Install pytest + - name: Install dependencies run: | python -m pip install --upgrade pip pip install pytest - name: Run tests run: | - echo "=== Running tests ===" if [ -d "tests" ]; then - pytest tests/ -v --tb=short || echo "Tests failed with exit code $?" + pytest tests/ -v --tb=short else - echo "No tests to run" + echo "No tests directory found - skipping" fi