Skip to content

Commit

Permalink
Raise an exception if tests fail, to ensure CI fails
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Jan 2, 2024
1 parent 88c38c1 commit 6293a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ require_relative 'lib/rubocop/cop/generator'

desc 'Run tests'
task :test do
system("bundle exec minitest-queue #{Dir.glob('test/**/*_test.rb').shelljoin}")
system("bundle exec minitest-queue #{Dir.glob('test/**/*_test.rb').shelljoin}", exception: true)
end

desc 'Run RuboCop over itself'
Expand Down

0 comments on commit 6293a14

Please sign in to comment.