e0e362d700
SDK Tests / SDK CI (push) Blocked by required conditions
SDK Tests / changes (push) Successful in 2m29s
Real E2E Tests / changes (push) Successful in 2m29s
SDK Tests / Python SDK Tests (sandbox) (push) Waiting to run
SDK Tests / CLI Quality (push) Waiting to run
SDK Tests / CLI Tests (push) Waiting to run
SDK Tests / Python SDK Quality (code-interpreter) (push) Waiting to run
SDK Tests / Python SDK Quality (sandbox) (push) Waiting to run
SDK Tests / Python SDK Tests (code-interpreter) (push) Waiting to run
SDK Tests / JavaScript SDK Quality And Tests (code-interpreter) (push) Waiting to run
SDK Tests / JavaScript SDK Quality And Tests (sandbox) (push) Waiting to run
SDK Tests / Kotlin SDK Quality And Tests (sandbox) (push) Waiting to run
SDK Tests / Kotlin SDK Quality And Tests (code-interpreter) (push) Waiting to run
SDK Tests / C# SDK Quality And Tests (code-interpreter) (push) Waiting to run
SDK Tests / C# SDK Quality And Tests (sandbox) (push) Waiting to run
SDK Tests / Go SDK Quality And Tests (push) Waiting to run
Deploy Docs Pages / build (push) Has been cancelled
Deploy Docs Pages / deploy (push) Has been cancelled
Real E2E Tests / JavaScript E2E (docker bridge) (push) Has been cancelled
Real E2E Tests / Python E2E (docker bridge) (push) Has been cancelled
Real E2E Tests / Java E2E (docker bridge) (push) Has been cancelled
Real E2E Tests / C# E2E (docker bridge) (push) Has been cancelled
Real E2E Tests / Go E2E (docker bridge) (push) Has been cancelled
Real E2E Tests / Real E2E CI (push) Has been cancelled
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
.PHONY: help install dev-install format lint type-check test test-cov clean docs build publish
|
|
|
|
# Default target
|
|
help: ## Show this help message
|
|
@echo "Available commands:"
|
|
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}'
|
|
|
|
install: ## Install package dependencies
|
|
uv sync
|
|
|
|
dev-install: ## Install package with development dependencies
|
|
uv sync --group dev
|
|
|
|
format: ## Format code with ruff
|
|
uv run ruff format .
|
|
|
|
lint: ## Run linting with ruff
|
|
uv run ruff check .
|
|
|
|
type-check: ## Run type checking with pyright
|
|
uv run pyright
|
|
|
|
test: ## Run tests
|
|
uv run pytest
|
|
|
|
test-cov: ## Run tests with coverage
|
|
uv run pytest --cov=src/opensandbox --cov-report=html --cov-report=term
|
|
|
|
clean: ## Clean build artifacts
|
|
rm -rf build/
|
|
rm -rf dist/
|
|
rm -rf *.egg-info/
|
|
rm -rf .pytest_cache/
|
|
rm -rf .coverage
|
|
rm -rf htmlcov/
|
|
find . -type d -name __pycache__ -exec rm -rf {} +
|
|
find . -name "*.pyc" -delete
|
|
|
|
docs: ## Generate documentation
|
|
cd docs && uv run sphinx-build -b html . _build/html
|
|
|
|
build: ## Build package
|
|
uv build
|
|
|
|
publish: ## Publish to PyPI (requires authentication)
|
|
uv publish
|
|
|
|
# Development workflow targets
|
|
check: format lint type-check ## Run all code quality checks
|
|
|
|
ci: dev-install check test ## Run CI pipeline locally
|
|
|
|
# Docker targets
|
|
docker-build: ## Build Docker image for development
|
|
docker build -t opensandbox-code-interpreter-dev .
|
|
|
|
docker-test: ## Run tests in Docker container
|
|
docker run --rm -v $(PWD):/app opensandbox-code-interpreter-dev make test
|