Check exit code of spec:jruby when running precommit
This commit is contained in:
parent
6836115308
commit
0039bf4d4b
3
Rakefile
3
Rakefile
@ -87,7 +87,8 @@ end
|
|||||||
|
|
||||||
desc "Run specs using jruby"
|
desc "Run specs using jruby"
|
||||||
task "spec:jruby" do
|
task "spec:jruby" do
|
||||||
system "jruby -S rake spec"
|
result = system "jruby -S rake spec"
|
||||||
|
raise "JRuby tests failed" unless result
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "Run each spec in isolation to test for dependency issues"
|
desc "Run each spec in isolation to test for dependency issues"
|
||||||
|
Loading…
Reference in New Issue
Block a user