Create test_api.yml
This commit is contained in:
		
							parent
							
								
									c554ed13ad
								
							
						
					
					
						commit
						6710e72cd1
					
				
							
								
								
									
										20
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,20 @@ | ||||
| name: Tests | ||||
| 
 | ||||
| on: [push] | ||||
| 
 | ||||
| jobs: | ||||
|   api: | ||||
|     name: Test API | ||||
|     runs-on: ubuntu-latest | ||||
| 
 | ||||
|     steps: | ||||
|     - uses: actions/checkout@v3 | ||||
|      | ||||
|     - name: Install dependencies | ||||
|       run: | | ||||
|         pip install -r requirements.txt | ||||
|         pip install -r dev-requirements.txt | ||||
|          | ||||
|     - name: Run tests | ||||
|       run: | | ||||
|         python -m pytest --verbose | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user