Check (AlCheck v0.1.19)

View Source

Runs all code quality checks in parallel.

See the Configuration, Test Partitioning, and Workflows guides for detailed documentation.

Usage

check                                # Run all checks
check -v                             # Show version
check --init                         # Create .check.json with defaults
check --help/-h                      # Show this help message
check --fast                         # Run only fast checks (format, compile, credo)
check --only format,test             # Run only format and test
check --only modified_tests          # Run only modified/new tests vs base branch
check --only modified_test_modules   # Run whole test files modified vs base branch
check --partitions 2                 # Run tests with 2 partitions (default: 3)
check --dir test/dir                 # Run tests only from specific directory
check --dir test/foo,test/bar        # Run tests from multiple directories
check --fix                          # Apply fixes from stored credo output
check --failed                       # Re-run only failed tests from previous run
check --watch                        # Monitor test partition files in real-time
check --test-args '--exclude slow'   # Replace default --warnings-as-errors with custom args
check --verbose                     # Print test output directly instead of partition status
check --coverage                    # Show coverage report (cached if unchanged)
check --no-coverage                 # Run without coverage (overrides .check.json)
check --repeat 10                   # Run tests with --repeat-until-failure 10 (default: 100)
check --quiet                       # Disable spinner animation
check --setup-db                    # Run DB setup for each test partition
check --drop-db                     # Drop DB for each test partition
check --for-partitions 'mix ecto.reset'  # Run any command across partitions

Summary

Functions

main(args)

@spec main([String.t()]) :: :ok