feat(release_homebrew): bring tests to parity with official homebrew workflows - #80
Merged
ReenigneArcher merged 9 commits intoDec 19, 2025
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #80 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 6 6
Lines 820 979 +159
Branches 82 82
==========================================
+ Hits 820 979 +159
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
ReenigneArcher
force-pushed
the
feat/release_homebrew/bring-tests-to-parity-with-official-homebrew-workflows
branch
11 times, most recently
from
December 9, 2025 00:53
7659de3 to
11ac390
Compare
Merged
26 tasks
ReenigneArcher
force-pushed
the
feat/release_homebrew/bring-tests-to-parity-with-official-homebrew-workflows
branch
15 times, most recently
from
December 12, 2025 18:23
205f0b0 to
ec15e02
Compare
This comment was marked as resolved.
This comment was marked as resolved.
ReenigneArcher
force-pushed
the
feat/release_homebrew/bring-tests-to-parity-with-official-homebrew-workflows
branch
from
December 16, 2025 01:39
6da86b8 to
122e251
Compare
ReenigneArcher
force-pushed
the
feat/release_homebrew/bring-tests-to-parity-with-official-homebrew-workflows
branch
5 times, most recently
from
December 17, 2025 03:37
b66957e to
73ef9fe
Compare
ReenigneArcher
marked this pull request as ready for review
December 17, 2025 03:55
Refactors the release_homebrew action to improve tap handling, commit logic, and GitHub Actions log grouping. Adds robust tap name parsing, explicit commit steps for formula changes, and more granular test-bot steps. Updates tests and fixtures for better coverage, including tap naming edge cases, environment setup, and cleanup. Introduces .gitattributes for consistent line endings and improves CI workflow reliability, especially on macOS.
ReenigneArcher
force-pushed
the
feat/release_homebrew/bring-tests-to-parity-with-official-homebrew-workflows
branch
3 times, most recently
from
December 17, 2025 23:49
a33f713 to
b9742eb
Compare
Refactored the action and main script to allow specifying custom head and base branches for both the org homebrew repo and homebrew-core fork when creating pull requests. Updated documentation and input parameters to reflect these changes. Enhanced test coverage to validate the new branch handling logic.
ReenigneArcher
force-pushed
the
feat/release_homebrew/bring-tests-to-parity-with-official-homebrew-workflows
branch
2 times, most recently
from
December 18, 2025 00:39
dc43d6c to
d25ad97
Compare
Enhanced the test_process_input_formula_copy_failure test by mocking os.makedirs and shutil.copy2 to simulate directory creation and file copying. This ensures the test accurately simulates a copy failure scenario without performing actual file operations.
ReenigneArcher
force-pushed
the
feat/release_homebrew/bring-tests-to-parity-with-official-homebrew-workflows
branch
from
December 18, 2025 01:08
d25ad97 to
ee3c2e9
Compare
Updated the release_homebrew action to generate commit messages based on whether a formula is new or updated, and to include the version number when available. The commit message is now set as an output and used in subsequent commit and pull request steps, replacing the previous static message format.
Extracted formula version extraction, commit message generation, formula tracking, and file copying into separate functions in main.py for better modularity and testability. Added comprehensive unit tests for these new functions in test_release_homebrew.py, improving code coverage and reliability.
ReenigneArcher
force-pushed
the
feat/release_homebrew/bring-tests-to-parity-with-official-homebrew-workflows
branch
2 times, most recently
from
December 19, 2025 02:17
19090b4 to
b74dddf
Compare
Introduces a new input, skip_stable_version_audit, to the release_homebrew action to optionally skip the stable version audit in brew test-bot runs. Updates the README, action.yml, and main.py to support this feature, and sets the default to true for easier PR testing. Minor whitespace fixes in test_release_homebrew.py.
ReenigneArcher
force-pushed
the
feat/release_homebrew/bring-tests-to-parity-with-official-homebrew-workflows
branch
3 times, most recently
from
December 19, 2025 03:06
29b5ed7 to
222dd3c
Compare
Introduces the Homebrew/actions/setup-homebrew action for consistent Homebrew environment setup. Removes manual PATH configuration and streamlines the Homebrew test step.
ReenigneArcher
force-pushed
the
feat/release_homebrew/bring-tests-to-parity-with-official-homebrew-workflows
branch
from
December 19, 2025 03:14
222dd3c to
67c2085
Compare
Adds the HOMEBREW_BOTTLE_BUILD environment variable when running the Homebrew test bot to allow skipping advanced tests during bottle builds. This change ensures the subprocess inherits the current environment and sets the required variable.
|
ReenigneArcher
deleted the
feat/release_homebrew/bring-tests-to-parity-with-official-homebrew-workflows
branch
December 19, 2025 23:08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Use
brew test-botfor testing formulas.TODO:
Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage