Skip to content

Enhancement | Run the bats tests on macOS and on more tofu/terraform versions - #349

Merged
diego-ojeda-binbash merged 1 commit into
masterfrom
feature/ci-macos-tf-matrix
Nov 14, 2026
Merged

diego-ojeda-binbash merged 1 commit into
masterfrom
feature/ci-macos-tf-matrix

Conversation

@diego-ojeda-binbash

Copy link
Copy Markdown
Contributor

What?

  • The bats job in tests-integration.yaml becomes a matrix (fail-fast: false):
Check OS tofu terraform
integration_tests (required, unchanged) ubuntu-latest 1.13.2 1.9.8
integration_tests_compat (ubuntu, older …) ubuntu-latest 1.10.10 1.12.2
integration_tests_compat (ubuntu, latest …) ubuntu-latest 1.13.9 1.17.2
integration_tests_compat (macos, latest …) macos-latest 1.13.9 1.17.2
  • Each entry sets name:, so the first one still reports exactly integration_tests, and the branch protection does not change. The compat checks are not required, at least for now.
  • The tofu/terraform download picks the runner's OS and architecture (linux_amd64, darwin_arm64).

Why?

H8 in #346. CI only ran on Linux, with one tofu version and one terraform version. TFRunner tells the binaries apart by parsing --version, and since #347 the bats tests run the real init/plan/apply cycle, so other versions and macOS (BSD userland, /var → /private/var symlinks) are now worth testing.

Cost

  • $0: the repo is public, so standard GitHub-hosted runners are free, macOS included. No larger runners are used.
  • +3 jobs per PR. The org is on the Free plan: at most 5 concurrent macOS jobs across all its repos, and macOS runners are slower.
  • The release workflow calls this one, so the built wheel is now also tested on these 3 combinations before publishing.

Relates to #346

🤖 Generated with Claude Code

…versions

The bats job becomes a matrix: the required `integration_tests` check keeps
its name and versions, and three `integration_tests_compat` entries add
older (tofu 1.10, terraform 1.12) and latest (tofu 1.13.9, terraform 1.17.2)
releases on ubuntu, plus the latest ones on macOS. The tofu/terraform
download now picks the runner's OS and architecture.

Relates to #346 (H8).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@diego-ojeda-binbash diego-ojeda-binbash added enhancement New feature or request test labels Nov 14, 2026
@coderabbitai

coderabbitai Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 3 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 451f415c-5504-4d36-9e49-e1c35be93abd
Commits

Reviewing files that changed from the base of the PR and between 859cc76 and 4140d40.

Files selected for processing: 1

  • .github/workflows/tests-integration.yaml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 43611698895

Coverage remained the same at 67.689%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 4070
Covered Lines: 2898
Line Coverage: 71.2%
Relevant Branches: 1080
Covered Branches: 588
Branch Coverage: 54.44%
Branches in Coverage %: Yes
Coverage Strength: 0.71 hits per line

💛 - Coveralls

@diego-ojeda-binbash diego-ojeda-binbash self-assigned this Nov 14, 2026
@diego-ojeda-binbash
diego-ojeda-binbash merged commit 064691d into master Nov 14, 2026
27 of 31 checks passed
@diego-ojeda-binbash
diego-ojeda-binbash deleted the feature/ci-macos-tf-matrix branch November 14, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants