mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Fix Windows virtual environment activation in CI workflows (#9420)
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/actions/restore-python/action.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/actions/restore-python/action.yml
									
									
									
									
										vendored
									
									
								
							| @@ -41,7 +41,7 @@ runs: | ||||
|       shell: bash | ||||
|       run: | | ||||
|         python -m venv venv | ||||
|         ./venv/Scripts/activate | ||||
|         source ./venv/Scripts/activate | ||||
|         python --version | ||||
|         pip install -r requirements.txt -r requirements_test.txt | ||||
|         pip install -e . | ||||
|   | ||||
							
								
								
									
										2
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -214,7 +214,7 @@ jobs: | ||||
|       - name: Run pytest | ||||
|         if: matrix.os == 'windows-latest' | ||||
|         run: | | ||||
|           ./venv/Scripts/activate | ||||
|           . ./venv/Scripts/activate.ps1 | ||||
|           pytest -vv --cov-report=xml --tb=native -n auto tests --ignore=tests/integration/ | ||||
|       - name: Run pytest | ||||
|         if: matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user