fix: ci workflow
Some checks failed
CI / test (3.13) (push) Failing after 25s

This commit is contained in:
Alexander Kalinovsky
2025-08-25 20:03:43 +03:00
parent 2954913673
commit 3433d740cc
2 changed files with 29 additions and 2 deletions

View File

@@ -23,8 +23,8 @@ jobs:
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up uv - name: Install uv
uses: astral-sh/setup-uv@v4 uses: astral-sh/setup-uv@v6
with: with:
enable-cache: true enable-cache: true
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}

27
scripts/local_ci.sh Executable file
View File

@@ -0,0 +1,27 @@
#!/bin/bash
# SPDX-FileCopyrightText: 2025 Alexander Kalinovsky <a@k8y.ru>
#
# SPDX-License-Identifier: MIT
# Local CI script to test the same steps as the Gitea workflow
set -e
echo "🚀 Running local CI tests..."
echo "📦 Installing dependencies..."
uv sync --all-extras --dev
echo "🔍 Running Ruff linting..."
uv run ruff check .
echo "🎨 Checking code formatting..."
uv run ruff format --check
echo "📝 Running MyPy type checking..."
uv run mypy src
echo "🧪 Running tests..."
uv run pytest
echo "✅ All checks passed!"