Skip to content

Fail build if warnings are emitted.

gitlab-qa-bot requested to merge fail-build-for-ruby-warnings into master

Created by: myronmarston

This is another go at what @xaviershay was trying to achieve in #1117. I tried it by introducing the warning I mentioned in the comments there, and it works :).

Basically, this relies on the fact that ruby prints its warnings to $stderr.

Merge request reports