mirror of
				https://github.com/thib8956/nginx-proxy
				synced 2025-10-31 00:59:20 +00:00 
			
		
		
		
	chore(ci): 👷 mv unit test from travis to ga
This commit is contained in:
		
				
					committed by
					
						 Nicolas Duchon
						Nicolas Duchon
					
				
			
			
				
	
			
			
			
						parent
						
							dd7f7e8427
						
					
				
				
					commit
					dd853b2572
				
			
							
								
								
									
										33
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,33 @@ | ||||
| name: Test | ||||
|  | ||||
| on: [push, pull_request] | ||||
|  | ||||
| jobs: | ||||
|   unit: | ||||
|     name: Unit Test | ||||
|     runs-on: ubuntu-latest | ||||
|  | ||||
|     strategy: | ||||
|       fail-fast: true | ||||
|       matrix: | ||||
|         docker_image: [alpine, debian] | ||||
|  | ||||
|     steps: | ||||
|       - uses: actions/checkout@v2 | ||||
|  | ||||
|       - name: Set up Python 3.9 | ||||
|         uses: actions/setup-python@v2 | ||||
|         with: | ||||
|           python-version: 3.9 | ||||
|  | ||||
|       - name: Install dependencies | ||||
|         run: | | ||||
|           python -m pip install --upgrade pip | ||||
|           pip install -r python-requirements.txt | ||||
|         working-directory: test/requirements | ||||
|  | ||||
|       - name: Build Docker web server image | ||||
|         run: make update-dependencies | ||||
|  | ||||
|       - name: Run tests | ||||
|         run: make test-${{ matrix.docker_image }} | ||||
		Reference in New Issue
	
	Block a user