Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/Homebrew/homebrew-test-bot
🎰 Tests the full lifecycle of a Homebrew change.
https://github.com/Homebrew/homebrew-test-bot
workflows/tests: use ruby/setup-ruby
9c3a37b30e2db946c5da79b5d2f5d1c57e9129ae authored about 3 years agob5009fdb9558584aa14c2cce81116b1cf1f2764e authored about 3 years ago
formulae_dependents: install formula dependencies first
49bd5cded34d8ee801988069bf4ff5db06e82d8a authored about 3 years agod4cd8cde4ac8bc73857e0aab6e87ae80eb6ed683 authored about 3 years ago
formulae_dependents: run postinstall before testing dependents
8a9c7ae5fecfa88ceb59b72982cfb1c836cdc480 authored about 3 years ago75ad8baa1df1c92f0ddc6228a38daeff55dafad3 authored about 3 years ago
This fixes an issue where important etc/var files, which may have been nuked during the build st...
f7bd3c0a75f54485dec16163f5748bf04bf91a31 authored about 3 years agoGemfile: restrict activesupport version range
e08041320dead4a57bfe14634e6d272862eef58e authored about 3 years agoa8756db9faaf886c88d135b1087e16a1a8a0eef9 authored about 3 years ago
build(deps): bump minitest from 5.14.4 to 5.15.0
bd5930a25e215c53d1ca062a4d8c3e6f8eb72afd authored about 3 years agobuild(deps-dev): bump activesupport from 6.1.4.1 to 6.1.4.3
8df347769e3e7931246cb456088d0fe6102f16dd authored about 3 years ago
Bumps [minitest](https://github.com/seattlerb/minitest) from 5.14.4 to 5.15.0.
- [Release notes]...
Bumps [activesupport](https://github.com/rails/rails) from 6.1.4.1 to 6.1.4.3.
- [Release notes]...
Apply self-hosted logic to Linux
261e5e276066e1ec72776111cc60f4df0731678f authored about 3 years agoRename env to `GITHUB_ACTIONS_HOMEBREW_SELF_HOSTED`.
45a0c470884f07031a00ecab10bf360f991cd9c1 authored about 3 years agoformulae_dependents: skip strict linkage check when building from source
11cf91230470d9b5c297667f01e5ea91bde3195a authored about 3 years ago
Building dependents from source is an opportunistic linkage party. We
don't really need to see t...
formulae_dependents: install subversion, etc when needed
15d0cdb1b3a7a00718e191a7fe521405f0d8cf55 authored about 3 years agoFixes CI failures in Homebrew/homebrew-core#89642.
5b4de802af54b08c001dfdf0555d3604167ed8bc authored about 3 years agoformulae: don't skip formulae with a dependent in the same test-bot run
5f821c66bf2070a7c3a94e76ccdee9cb8c11ba5f authored about 3 years ago
While doing some testing I discovered that adding two new formulae,
where one dependends on the ...
formulae_dependents: build dependents from source only on request
3918105d451e05130b840768aabc840189c270ac authored about 3 years agoformulae: check deps against `testing_formulae` instead
9dfde23604fac24219775e12e1025542f8dd48fb authored about 3 years ago
I trialled this behaviour in Homebrew/homebrew-core#89857, and it adds a
significant amount of t...
This is a better fix for the issue I tried to fix in #733.
Checking dependents against `@new_fo...
43e52574d2da210b41182f0fae3a334f975862e9 authored about 3 years agoformulae: call `new`
25e27930eb88e9bb69fc72d2f34078ed23cf2933 authored about 3 years agoThis just produces an error otherwise.
26ec8c94e455e63217b3cf7a05f74d7b53a2677c authored about 3 years agoformulae: check for added formulae in `build_bottle?`
e59144b1a76d5876fe8278da15b6a74cb2c84e3e authored about 3 years ago
Fixes skipping bottle builds for PRs that add a formula and switch other
formulae to depend on t...
formulae_dependents: fix bottle notification
f213e518037d54b43317db570e4e5ea8cb26e335 authored about 3 years ago
The `file` needs to be relative to the repository. I thought
`GitHub::Actions::Annotation` was s...
formulae_dependents: build more dependents from source
9b5f583cf6302e6ff3db61bd2ee5172881a47ee5 authored about 3 years agocmd/test-bot.rb: remove `--skip-unbottled-{arm,linux}`
65bf48fd238a72677c5d5b796118cd0e27b2c0f5 authored about 3 years agoImprove whitespace placement
6cc7d8dcce15757e7ada59d972f9a718cea3b3db authored about 3 years agoThis should make whitespace placement in the CI log a bit more logical.
e5232db1c4e6c95e22885366d259b99c4302c231 authored about 3 years agoAdd tests for opportunistic linkage
6a82b403363b623ec67b97b001d3bedf188fd684 authored about 3 years ago
This comes immediately after doing `brew linkage` on the same formula,
so we can just use `--cac...
This will just duplicate the error message we saw from the first linkage
test otherwise.
See discussion at Homebrew/brew#12454.
6361065d4cf1a3e6c0c2d3ad7f6b8b8ba5f65b7b authored about 3 years agolib/step: enable annotations on Linux
53b06a1a8c7aaa5d3f3fa979954f1feec325ae5a authored about 3 years agod52fc1ed710e30fe12fc3dbed02101dc943e5011 authored about 3 years ago
lib/step: fix `os_string`
64ce34f01c5fa4c29ab24c748874d14c5fd93dc3 authored about 3 years agoThis is currently an empty string on Intel macOS.
abc5ed89ce3f090062092d5f7183ac6008c2b23d authored about 3 years agoformulae_dependents: traverse dep tree when linking dependencies
0f4eac88a858761624cd91f6bdcd04583b580fcd authored about 3 years agolib/step: improve GitHub Actions logging and annotations
72825a52a09e72924f7c0deb0e3580363edbba4c authored about 3 years ago1e4c6eeef05e58cfc3838e3101eefd2cd0bde34c authored about 3 years ago
We probably still want annotations even if `--verbose` is passed to
`test-bot`. Also, make sure ...
We duplicate some code in exchange, but a little duplication is probably
worth the reduced nesting.
1. Fix output grouping.
2. Don't join with `\n`. `@output.lines` doesn't strip each line, so
...
Co-authored-by: fn ⌃ ⌥ <[email protected]>
cbb316634fcdf545c9239210291b95670343e90c authored about 3 years agoCo-authored-by: Bo Anderson <[email protected]>
07561f7a3b8bcd38983e42ef3e6ed761f6f29d4f authored about 3 years agoCo-authored-by: fn ⌃ ⌥ <[email protected]>
3ad40cee1cc08193c4cf6fea209112b0de6df00b authored about 3 years agoa0167a1533fd9fef1b957d6e7ec430e58b3f38ee authored about 3 years ago
59613c62454b4f3ec93429fd75576add9c3d9924 authored about 3 years ago
Co-authored-by: Bo Anderson <[email protected]>
525ec6ab2679fda2a4c35efd5e625d32764f20af authored about 3 years agoformulae: fix missing `=`
053a47d6c310b02de494d1a066178010dd18a7df authored about 3 years agoSee discussion at #719.
8a4afc5edd65f006bb95c3ec4438a6075cd652de authored about 3 years agolib/step: don't use .present on output.
eec1f4cb41a363938d3becaab0e37d8717e40399 authored about 3 years ago
See
https://github.com/Homebrew/homebrew-test-bot/pull/710#discussion_r752419047
and https://git...
On macOS, all formulae are possible `source_dependents`. On Linux, only
Linux-only formulae are ...
If the `--build-dependents-from-source` flag is passed, then all
dependents are built from sourc...
Display unbottled dependencies when skipping
7e3c529bd62f6bffd1297ebec51b915b208a6351 authored about 3 years agoRevert "formulae_dependents: prune build deps when linking test deps"
e604a508da98b9bcefcd34e511e8a9262ed14ff5 authored about 3 years agolib/step: improve GitHub Actions annotations.
deedd30411477badc04fadc2441368593b61170d authored about 3 years ago
- clarify that these are GitHub Actions annotations in method name
- don't duplicate the output ...
This still doesn't fix the overzealous linking of formulae,
unfortunately. See Homebrew/homebrew...
140e7d086b13258fdc183693168fcb284297d36e authored about 3 years ago
formulae_dependents: prune build deps when linking test deps
1cb1f1c3b0a1dec7ff21bcd4ef0d8c687eee79cd authored about 3 years agolib/step: skip annotations on Linux (for now)
8ed8d35ac24068354d6baa45c8d117fd2c0c3ff7 authored about 3 years agoThe logic for `:all` bottles is now in the `#bottled?` method.
We also remove `no_older_version...
9e43057afed4b0d54f7860a7d61be3109289d9ff authored about 3 years ago
We also no longer need to handle the `:all` bottle case separately after
e41d68eb6ad35b01595597e...
We currently have a few places elsewhere that check for `:all` bottle
dependencies separately. W...
Using `GitHub::Actions::Annotation` causes errors in the Linux
container. See #712.
85aaf199e2b236becd6c1286886fe3a59581f329 authored about 3 years ago
formulae_dependents: display annotations for missing bottles
943297919dbb81cf6c40011d1fd01d359c942a02 authored about 3 years agoefc730924bae9f03d29391d22b0e1dfb60c112bc authored about 3 years ago
This change checks for formulae that should be bottled but aren't. When
it finds one, it display...
lib/tests/formulae_dependents: link only installed formulae
60b69c5faba6489a27c6766753d38cb26163f778 authored about 3 years ago
We started trying to link recursive dependencies in #711. However, this
causes `test-bot` to att...
formula_dependents: ensure recursive dependencies are linked
599ec5c3b534b5ab82883012a1b37e1f56360c74 authored about 3 years agoace46ef4f636f47495c7911c19a8bd82ba097a70 authored about 3 years ago
lib/step: improve Actions annotations.
96edbe66a23e103a54187e671e97daea8e615281 authored about 3 years ago
- make the method definition stricter
- allow passing through a title
- don't use `<details`> (i...
lib/step: more annotation format tweaks
bd61be15f30abe4bd31b221359c308c441a6ae84 authored about 3 years agoThis doesn't seem to render correctly at the moment.
996995881d07b19512733673438ac67d4de4bb57 authored about 3 years agolib/step: tweak annotation code/output.
961a1242717317f91996d9d709ecad9a8ff06f26 authored about 3 years ago
- Use early `return`s to reduce indentation
- Use `<details>` to optionally display the full out...
Implement annotations for relevant errors
be1ba0a9815e863961e70009b9b3fafbe81f8888 authored about 3 years agoSkip online checks when there are more than five testing formulae
a01fe9572948f912686e22990a754de30d9a3764 authored about 3 years ago
This makes things easier to understand for now, but requires
`named_args` and `command` to not c...
Closes Homebrew/homebrew-core#89265.
ecbfb02e7ac239ffdafa1696faafd732f2a7573b authored about 3 years ago54177dd01eee0e9bea9a1c31f08f63190337607c authored about 3 years ago
These have been replaced by the new annotations and ignore API.
8d6956078266981e423031b4d75f43dd1a37c3b1 authored about 3 years agocc4aa77d24bb1522bda2288926ca0ecdb6dafdc1 authored about 3 years ago
34ad72d7c60d4a00edaaa59cfd8139f00858fd4e authored about 3 years ago
This implements a way to produce annotations for all errors in a
`test-bot` run. It requires bak...
lib/test_formulae: fix undefined method error
db5bc50f089dd0247548a5824c23eb957be887af authored about 3 years agoThis is missing a `#to_s` call.
0a6699a41117d11a146d70d57b596b0d10555036 authored about 3 years agolib/tests/formulae: demote more unbottled failures to warnings
58b110a30d90434bf0a3afd9e10ea2cb614caefc authored about 3 years ago