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