Files
quickbot_cli/scripts/local_ci.sh
Alexander Kalinovsky ab1aedd63e
All checks were successful
CI / test (3.13) (push) Successful in 42s
chore: update license from MIT to Apache-2.0 across all files
2025-08-26 19:38:15 +03:00

31 lines
606 B
Bash
Executable File

#!/bin/bash
# SPDX-FileCopyrightText: 2025 Alexander Kalinovsky <a@k8y.ru>
#
# SPDX-License-Identifier: Apache-2.0
# 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 .
echo "🔍 Running Reuse linting..."
uv run reuse lint
echo "🧪 Running tests..."
uv run pytest
echo "✅ All checks passed!"