Updatery
This commit is contained in:
		
							parent
							
								
									f7b7fdad8a
								
							
						
					
					
						commit
						9fb2b796e8
					
				
					 4 changed files with 20 additions and 2 deletions
				
			
		|  | @ -10,4 +10,4 @@ before_install: | |||
| - cp .env.template .env | ||||
| 
 | ||||
| script: | ||||
| - docker-compose -f docker/build/docker-compose.yml run build script/test.sh | ||||
| - docker-compose -f docker/build/docker-compose.yml -e RACK_ENV=ci -e RAILS_ENV=ci run build script/test.sh | ||||
|  | @ -30,6 +30,16 @@ test: | |||
|   username: admin | ||||
|   password: password | ||||
|   host: <%= ENV['DATABASE_HOST'] || 'localhost' %> | ||||
| ci: | ||||
|   adapter: postgresql | ||||
|   encoding: unicode | ||||
|   database: commitchange_test | ||||
|   pool: 5 | ||||
|   username: admin | ||||
|   password: password | ||||
|   host: <%= ENV['DATABASE_HOST'] || 'localhost' %> | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|   # Connect on a TCP socket. Omitted by default since the client uses a | ||||
|   # domain socket that doesn't need configuration. Windows does not have | ||||
|  |  | |||
							
								
								
									
										8
									
								
								config/environments/ci.rb
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										8
									
								
								config/environments/ci.rb
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,8 @@ | |||
| # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later | ||||
| require 'config/environments/test.rb' | ||||
| 
 | ||||
| Commitchange::Application.configure do | ||||
| 
 | ||||
|   config.log_level = :info | ||||
| 
 | ||||
| end | ||||
|  | @ -1,2 +1,2 @@ | |||
| #!/bin/bash | ||||
| rake db:create db:structure:load test:prepare && rake spec && npx jest && npm run build-all | ||||
| npm install && rake db:create db:structure:load test:prepare && rake spec && npx jest && npm run build-all | ||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Eric Schultz
						Eric Schultz