chore: various tweaks to support running tests in the CI

This commit is contained in:
Adam Cooke
2021-07-26 17:40:56 +00:00
parent 9288d642b9
commit c09ab62d0c
21 changed files with 334 additions and 103 deletions
+1 -1
View File
@@ -8,8 +8,8 @@ require 'bundler/setup' # Set up gems listed in the Gemfile.
require_relative '../lib/postal/config'
Postal.check_config!
ENV['DATABASE_URL'] = Postal.database_url
ENV['RAILS_ENV'] = Postal.config.rails&.environment || 'development'
if ENV['PROC_NAME']
$0="[postal] #{ENV['PROC_NAME']}"
end