28 lines
545 B
Bash
Executable File
28 lines
545 B
Bash
Executable File
#!/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!"
|