Thank you for your interest in contributing!
Tests are written with bats-core.
Install bats:
# Debian / Ubuntu
sudo apt-get install bats
# macOS
brew install bats-coreRun all tests:
bats tests/install.bats
bats tests/run.bats- Shell scripts must pass ShellCheck (
shellcheck <script>) - Keep
install.shandrun.shPOSIX-compatible where possible; bash-specific features are acceptable but must be declared with#!/bin/bashandset -euo pipefail - New hooks added to
.pre-commit-config.yamlshould have a corresponding test intests/
- Fork the repository and create a branch from
master - Add or update tests to cover your change
- Ensure
bats tests/*.batspasses locally - Open a pull request — CI will run the full test suite automatically
- A maintainer will review and merge once CI is green
Open a GitHub Issue with a clear description of the problem and steps to reproduce.