Skip to content

Conversation

@JamesPrial
Copy link
Owner

Summary

  • Adds GitHub Actions workflow to run BATS tests on push and PRs
  • Tests on both Ubuntu and macOS via matrix strategy
  • Installs bats, jq, and yq (Mike Farah's version from official releases)

Test plan

  • CI runs on push to feature branch
  • Both Ubuntu and macOS jobs pass
  • All 17 BATS tests execute successfully

🤖 Generated with Claude Code

JamesPrial and others added 2 commits January 25, 2026 17:57
Adds automated testing workflow that runs BATS tests on push and pull requests across Ubuntu and macOS matrix, with necessary dependencies (bats, jq, yq).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Replace snap installation with direct download of yq binary from GitHub
releases to match the Homebrew version used on macOS, ensuring consistent
behavior across test environments.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@JamesPrial JamesPrial merged commit 77a4b70 into main Jan 25, 2026
4 checks passed
@JamesPrial JamesPrial deleted the feat/ci-bats-tests branch January 25, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant