Rakefile in dockerfile-rails-1.2.5 vs Rakefile in dockerfile-rails-1.3.0
- old
+ new
@@ -37,10 +37,10 @@
sh "docker buildx build . --load -t system:test"
key = IO.read("config/master.key")
sh "docker run -p 3000:3000 -e RAILS_MASTER_KEY=#{key} --rm system:test"
end
ensure
- rm_rf "test/tmp/system_test"
+ rm_rf "test/tmp/system_test" unless ENV["TEST_KEEP"]
end
task all: %w(test:rubocop test test:system)
end