Test All

Run the full CI pipeline locally -- linting, type checking, and tests. Use before commits or deployments to verify everything passes.

justnau1020 3c1e223 1.3 KB Updated

File contents

Run Full CI Pipeline

Run the complete CI pipeline locally in the same order as CI/CD.

Pipeline Steps (run in order, stop on first failure)

1. Lint

Run the project's linter. Examples:

# Python
ruff check {source_dir}/ tests/

# JavaScript/TypeScript
npx eslint src/

If there are auto-fixable issues, report them but do NOT auto-fix unless asked. Show the exact errors.

2. Type check

Run the project's type checker. Examples:

# Python
mypy {source_dir}/ --ignore-missing-imports

# TypeScript
npx tsc --noEmit

Report any type errors with file paths and line numbers.

3. Run test suite

# Python
pytest tests/ -v --tb=short

# JavaScript/TypeScript
npm test

If $ARGUMENTS is provided, pass it as additional arguments:

pytest tests/ -v --tb=short $ARGUMENTS

Reporting

After all steps complete, provide a summary:

CI Pipeline Results:
  Lint:  PASS/FAIL (N issues)
  Types: PASS/FAIL (N errors)
  Tests: PASS/FAIL (N passed, N failed, N skipped)

If any step fails, explain what failed and suggest specific fixes. Include file paths and line numbers for all failures.

justnau1020/claude-os/tree/main/skills/development/test-all commit 3c1e223b94

Frequently asked questions

npx skillmds@latest add justnau1020/test-all