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:
		| @@ -2,9 +2,10 @@ | |||||||
| - project: | - project: | ||||||
|     check: |     check: | ||||||
|       jobs: |       jobs: | ||||||
|       - tox-py37 |         - tox-py37 | ||||||
|       - tox-docs |         - tox-cover | ||||||
|  |         - tox-docs | ||||||
|     gate: |     gate: | ||||||
|       jobs: |       jobs: | ||||||
|       - tox-py37 |         - tox-py37 | ||||||
|       - tox-docs |         - tox-docs | ||||||
|   | |||||||
							
								
								
									
										12
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								tox.ini
									
									
									
									
									
								
							| @@ -7,9 +7,19 @@ deps = -r{toxinidir}/requirements.txt | |||||||
| changedir = {toxinidir} | changedir = {toxinidir} | ||||||
| commands = | commands = | ||||||
| 	# simulate actual user interaction | 	# simulate actual user interaction | ||||||
| 	pip install -e {toxinidir} | 	pip install -e . | ||||||
| 	pytest -vv | 	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] | [testenv:docs] | ||||||
| deps = | deps = | ||||||
| 	-r{toxinidir}/requirements.txt | 	-r{toxinidir}/requirements.txt | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jan Kundrát
					Jan Kundrát