Skip to content

Add bats to make tools target#359

Merged
jeremy merged 1 commit intomainfrom
install-bats-via-make-tools
Mar 24, 2026
Merged

Add bats to make tools target#359
jeremy merged 1 commit intomainfrom
install-bats-via-make-tools

Conversation

@jeremy
Copy link
Member

@jeremy jeremy commented Mar 24, 2026

Summary

  • make tools now installs bats-core (via brew or pacman) if missing
  • e2e tests require bats but it was the only dev dependency not covered by make tools

Test plan

  • Run make tools on a machine without bats — verify it gets installed
  • Run make test-e2e after to confirm bats works

Summary by cubic

Update make tools to auto-install bats-core (via brew or pacman) if missing, so e2e tests run without manual setup. If neither is available, it exits with a helpful install link.

Written for commit bdd70c5. Summary will update on new commits.

e2e tests require bats-core but make tools didn't install it,
unlike every other dev dependency.
Copilot AI review requested due to automatic review settings March 24, 2026 05:46
@github-actions github-actions bot added the enhancement New feature or request label Mar 24, 2026
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the developer tooling bootstrap so make tools also ensures bats is available, aligning the tools setup with the repo’s existing Bats-based e2e test suite requirements.

Changes:

  • Add a bats presence check to make tools.
  • Auto-install bats via Homebrew (bats-core) or pacman (bats) when missing, with a fallback link to manual install instructions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jeremy jeremy merged commit f26758a into main Mar 24, 2026
31 checks passed
@jeremy jeremy deleted the install-bats-via-make-tools branch March 24, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants