Comments (4)
What would be the purpose of running the upload step if there's no bottles there to upload?
from homebrew-test-bot.
IIRC test-bot
will just exit if no formulas were changed between commits.
If one for example has a script that first executes test-bot
and then test-bot --ci-upload
, it will fail when attempting to upload, because no bottles were built, beacuse no changes to any formula were detected.
Might be an edge case, but I'm currently (in progress) workarounding this in my CI jobs by performing the same check like in the code above, before executing test-bot --ci-upload
:
https://github.com/dawidd6/homebrew-tap/blob/78c83ab1d9afdc5eaa81df500ea30b9bf6afa13e/.github/workflows/main.yml#L53
from homebrew-test-bot.
Okay that was a bad idea. Didn't think this through enough.
from homebrew-test-bot.
Not a bad idea, a good question!
from homebrew-test-bot.
Related Issues (20)
- Dependent formula is not build with `--build-dependents-from-source` when running test-bot HOT 3
- Error treating custom/tap/formula as a formula when there is a cask with the same name HOT 14
- Behavior change in building bottles against bottles from previous macOS versions HOT 13
- Annotations and ignore logic not working on Linux HOT 12
- Split bottling and testing a formula into separate steps HOT 13
- `git -C "${HOMEBREW_REPOSITORY}" clean` failed in `brew test-bot --only-cleanup-after` HOT 1
- Option to skip building unbottled dependents from source HOT 3
- Build bottles for arm64 HOT 1
- error in tap CI: brew link m4
- test-bot exiting on failure with success code HOT 2
- max number of concurrent jobs HOT 1
- Build failure due to deleted `etc` files from built dependencies HOT 1
- Don't skip if "has dependencies without compatible bottles" only affects `:build` dependencies HOT 6
- Bottles published but revision not merged HOT 5
- Cask was detected as formula with `--only-formulae` HOT 12
- `--only-formulae-detect` should work inside `merge_group` events HOT 1
- Tap CI failing on `brew test-bot --only-formulae` on Linux HOT 6
- gpsim 0.32.0 bottle issue HOT 5
- `brew test-bot --only-formulae` fails with a parsing error
- Errors resulting from `--new-formula` deprecation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-test-bot.