534bb94eea
Build Dev Image / build-dev-image (push) Waiting to run
Check i18n Keys / Check i18n Key Consistency (push) Waiting to run
Lint / Ruff Lint & Format (push) Waiting to run
Lint / Frontend Lint (push) Waiting to run
Test Migrations / Migrations (SQLite) (push) Waiting to run
Test Migrations / Migrations (PostgreSQL) (push) Waiting to run
36 lines
930 B
Makefile
36 lines
930 B
Makefile
# LangBot Makefile
|
|
# Quick developer commands
|
|
|
|
.PHONY: test test-quick test-integration-fast test-coverage test-all-local lint
|
|
|
|
# Run all tests (full suite with coverage)
|
|
test:
|
|
bash run_tests.sh
|
|
|
|
# Quick self-test for developers (lint + unit + smoke, no real credentials needed)
|
|
test-quick:
|
|
bash scripts/test-quick.sh
|
|
|
|
# Fast integration tests (SQLite/API/Pipeline, no external services)
|
|
test-integration-fast:
|
|
bash scripts/test-integration-fast.sh
|
|
|
|
# Coverage gate (all tests, enforces minimum threshold)
|
|
test-coverage:
|
|
bash scripts/test-coverage.sh
|
|
|
|
# Full local quality gate (quick + integration + coverage)
|
|
test-all-local:
|
|
bash scripts/test-quick.sh
|
|
bash scripts/test-integration-fast.sh
|
|
bash scripts/test-coverage.sh
|
|
|
|
# Run linting only
|
|
lint:
|
|
ruff check src/langbot/ tests/
|
|
ruff format --check src/langbot/ tests/
|
|
|
|
# Fix linting issues
|
|
lint-fix:
|
|
ruff check --fix src/langbot/ tests/
|
|
ruff format src/langbot/ tests/
|