-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install bc to support arithmetic operations with floating numbers #85
Install bc to support arithmetic operations with floating numbers #85
Comments
Thank you for your descriptive example! I don't have any concerns about adding it. Seems like a small tool that can be usefull. See cirruslabs/docker-images-android#29 Unfortunately, the android images are already targeting Android 11 and flutter is only about to support it so it's not freezable to update flutter image to if [ $CODE_COVERAGE -le $2 ]; then exit 1; fi |
The problem with that line is the My bash knowledge is really limited, so any guidance would be appreciated: if you can think of an alternative to compare numbers (integers and floating), then let me know and I am happy to run it on my pipeline! Thank you so much! |
Should be fixed now. |
A common case that could happen on pipelines would be to compare a certain code coverage generated with a threshold, so you can validate that there's no coverage regressions in your codebase. For example, in my case, I run a script like this:
However, this script will fail at the very last line because
bc
is not installed in this Docker image (for example):Would it be possible to install
bc
in the flutter image? Thanks!The text was updated successfully, but these errors were encountered: