psu-libraries / scholarsphere

Penn State's next generation institutional repository
MIT License
12 stars 6 forks source link

Fail build if code coverage cannot be sent #370

Closed awead closed 4 years ago

awead commented 4 years ago

Code coverage is not being sent to Code Climate. We're getting:

Error: json: cannot unmarshal object into Go struct field input.coverage of type []formatters.NullInt

This is probably due to a bug with Code Climate and the latest SimpleCov gem.

WDLL

whereismyjetpack commented 4 years ago

we exit with rpsec exit code in the script, we should probably set -e in the script so it bails on any failure?