mirror of
				https://github.com/Telecominfraproject/oopt-gnpy.git
				synced 2025-10-31 18:18:00 +00:00 
			
		
		
		
	CI: Run both non-coverage and coverage build/test jobs
Change-Id: Ia58112b745a0b34d2dcef782ad729f165629eb22
This commit is contained in:
		| @@ -3,6 +3,7 @@ | ||||
|     check: | ||||
|       jobs: | ||||
|         - tox-py37 | ||||
|         - tox-cover | ||||
|         - tox-docs | ||||
|     gate: | ||||
|       jobs: | ||||
|   | ||||
							
								
								
									
										12
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								tox.ini
									
									
									
									
									
								
							| @@ -7,9 +7,19 @@ deps = -r{toxinidir}/requirements.txt | ||||
| changedir = {toxinidir} | ||||
| commands = | ||||
| 	# simulate actual user interaction | ||||
| 	pip install -e {toxinidir} | ||||
| 	pip install -e . | ||||
| 	pytest -vv | ||||
|  | ||||
| [testenv:cover] | ||||
| deps = | ||||
| 	-r{toxinidir}/requirements.txt | ||||
| 	pytest-cov | ||||
| commands = | ||||
| 	pip install -e . | ||||
| 	pytest --cov=gnpy --cov=examples -v | ||||
| 	coverage html -d cover | ||||
| 	coverage xml -o cover/coverage.xml | ||||
|  | ||||
| [testenv:docs] | ||||
| deps = | ||||
| 	-r{toxinidir}/requirements.txt | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jan Kundrát
					Jan Kundrát