test on push
This commit is contained in:
		
							parent
							
								
									b21ac6b246
								
							
						
					
					
						commit
						443942e1ea
					
				
					 2 changed files with 8 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -6,4 +6,5 @@ pipeline:
 | 
			
		|||
    - mix local.rebar --force
 | 
			
		||||
    - mix format --check-formatted
 | 
			
		||||
    when:
 | 
			
		||||
      event: [push, tag, deployment]
 | 
			
		||||
      event:
 | 
			
		||||
      - push
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,9 @@ matrix:
 | 
			
		|||
pipeline:
 | 
			
		||||
  build:
 | 
			
		||||
    image: pleromaforkci/ci-base:${ELIXIR_VERSION}
 | 
			
		||||
    when:
 | 
			
		||||
      event:
 | 
			
		||||
      - push
 | 
			
		||||
    environment:
 | 
			
		||||
      MIX_ENV: test
 | 
			
		||||
    commands:
 | 
			
		||||
| 
						 | 
				
			
			@ -19,6 +22,9 @@ pipeline:
 | 
			
		|||
  test:
 | 
			
		||||
    group: test
 | 
			
		||||
    image: pleromaforkci/ci-base:${ELIXIR_VERSION}
 | 
			
		||||
    when:
 | 
			
		||||
      event:
 | 
			
		||||
      - push
 | 
			
		||||
    environment:
 | 
			
		||||
      MIX_ENV: test
 | 
			
		||||
      POSTGRES_DB: pleroma_test
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue