diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 7c606a6..af06130 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -22,16 +22,23 @@ jobs: uses: actions/setup-python@v5 with: python-version: '3.11' + cache: 'pip' + + - name: Check Python version + run: python --version - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -e ".[dev]" + pip install -e ".[dev]" 2>&1 || echo "Install failed" + + - name: Show pip packages + run: pip list - name: Run tests - run: pytest -xvs --tb=short + run: pytest -xvs --tb=short 2>&1 || echo "Tests failed" - name: Run linting run: | pip install ruff - ruff check --fix . + ruff check --fix . 2>&1 || echo "Linting failed"