name: CI on: push: branches: - main pull_request: branches: - main jobs: test: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 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 with verbose output run: | python -m pytest tests/ -v --tb=short 2>&1 || true - name: Check pytest return code run: | python -m pytest tests/ -v --tb=short