Merge pull request #6712 from freqtrade/ci/speed
Speed up ci by running coverage only where necessary
This commit is contained in:
		
							
								
								
									
										8
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -157,6 +157,12 @@ jobs: | |||||||
|         pip install -e . |         pip install -e . | ||||||
|  |  | ||||||
|     - name: Tests |     - name: Tests | ||||||
|  |       if: (runner.os != 'Linux' || matrix.python-version != '3.8') | ||||||
|  |       run: | | ||||||
|  |         pytest --random-order | ||||||
|  |  | ||||||
|  |     - name: Tests (with cov) | ||||||
|  |       if: (runner.os == 'Linux' && matrix.python-version == '3.8') | ||||||
|       run: | |       run: | | ||||||
|         pytest --random-order --cov=freqtrade --cov-config=.coveragerc |         pytest --random-order --cov=freqtrade --cov-config=.coveragerc | ||||||
|  |  | ||||||
| @@ -229,7 +235,7 @@ jobs: | |||||||
|  |  | ||||||
|     - name: Tests |     - name: Tests | ||||||
|       run: | |       run: | | ||||||
|         pytest --random-order --cov=freqtrade --cov-config=.coveragerc |         pytest --random-order | ||||||
|  |  | ||||||
|     - name: Backtesting |     - name: Backtesting | ||||||
|       run: | |       run: | | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user