mirror of
				https://github.com/deepset-ai/haystack.git
				synced 2025-11-04 03:39:31 +00:00 
			
		
		
		
	
		
			
	
	
		
			19 lines
		
	
	
		
			431 B
		
	
	
	
		
			INI
		
	
	
	
	
	
		
		
			
		
	
	
			19 lines
		
	
	
		
			431 B
		
	
	
	
		
			INI
		
	
	
	
	
	
| 
								 | 
							
								[tox]
							 | 
						||
| 
								 | 
							
								isolated_build = true
							 | 
						||
| 
								 | 
							
								envlist = py37
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[testenv]
							 | 
						||
| 
								 | 
							
								changedir = test
							 | 
						||
| 
								 | 
							
								extras =
							 | 
						||
| 
								 | 
							
								    test
							 | 
						||
| 
								 | 
							
								setenv =
							 | 
						||
| 
								 | 
							
								    COVERAGE_FILE = test-reports/.coverage
							 | 
						||
| 
								 | 
							
								    PYTEST_ADDOPTS = --junitxml=test-reports/{envname}/junit.xml -vv
							 | 
						||
| 
								 | 
							
								commands =
							 | 
						||
| 
								 | 
							
								    coverage run --source haystack --parallel-mode -m pytest {posargs}
							 | 
						||
| 
								 | 
							
								    coverage combine
							 | 
						||
| 
								 | 
							
								    coverage report -m
							 | 
						||
| 
								 | 
							
								    coverage html -d test-reports/coverage-html
							 | 
						||
| 
								 | 
							
								    coverage xml -o test-reports/coverage.xml
							 |