Compare number of migrations against base ref
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Run unit tests / rubocop (pull_request) Successful in 1m18s
				
			
		
			
				
	
				Run unit tests / check-licenses (pull_request) Successful in 1m21s
				
			
		
			
				
	
				Run unit tests / copyright_notice (pull_request) Successful in 1m37s
				
			
		
			
				
	
				Run unit tests / unit_tests (pull_request) Failing after 1m55s
				
			
		
			
				
	
				Run unit tests / build-static-assets (pull_request) Has been skipped
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Run unit tests / rubocop (pull_request) Successful in 1m18s
				
			Run unit tests / check-licenses (pull_request) Successful in 1m21s
				
			Run unit tests / copyright_notice (pull_request) Successful in 1m37s
				
			Run unit tests / unit_tests (pull_request) Failing after 1m55s
				
			Run unit tests / build-static-assets (pull_request) Has been skipped
				
			This commit is contained in:
		
							parent
							
								
									966998e6c8
								
							
						
					
					
						commit
						66c5b3a526
					
				| @ -35,7 +35,7 @@ jobs: | |||||||
|             echo "Trying again" |             echo "Trying again" | ||||||
|           done |           done | ||||||
|       - run: | |       - run: | | ||||||
|           migrations_added=$(git diff origin/main --name-only db/migrate/ | wc -l) |           migrations_added=$(git diff ${{ github.base_ref }} --name-only db/migrate/ | wc -l) | ||||||
|           echo "Migrations added: $migrations_added" |           echo "Migrations added: $migrations_added" | ||||||
|           bundle exec rake db:schema:load db:migrate:status db:migrate:redo |           bundle exec rake db:schema:load db:migrate:status db:migrate:redo | ||||||
|           git diff --exit-code db/schema.rb |           git diff --exit-code db/schema.rb | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user