From 6293a14d73ad6082e175d149e76801d35e399164 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Wed, 3 Jan 2024 09:39:19 +1300 Subject: [PATCH] Raise an exception if tests fail, to ensure CI fails --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 35b1ae46..490ae118 100644 --- a/Rakefile +++ b/Rakefile @@ -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'