Closed FGRibreau closed 3 years ago
Most build chains (like Travis CI) will error out if the exit code isn't 0. How about being able to set a minimum score or minimum grade, and having it exit with code 1 if it doesn't meet that score?
Yes, that's definitely something like that I had in mind! That would be perfect and natural as other tools works like that :)
I did this as --expect B+
in the node client (https://github.com/mozilla/observatory-cli/)
@FGRibreau the node client has a lot of options for CI work, if you want to look into it. Holler there if they don't meet your needs.
Closing in favor of https://github.com/mozilla/observatory-cli/ which supports this
Making the exit code the score would allow users to integrate http-observatory-cli into their build pipeline :)