mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Update azure-pipelines-ci.yml for Azure Pipelines
This commit is contained in:
parent
2e05431642
commit
96e84692ef
@ -94,9 +94,8 @@ stages:
|
|||||||
python -m venv venv
|
python -m venv venv
|
||||||
|
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
pip install -U pip setuptools
|
pip install -U pip setuptools pytest-azurepipelines -c homeassistant/package_constraints.txt
|
||||||
pip install -r requirements_test_all.txt -c homeassistant/package_constraints.txt
|
pip install -r requirements_test_all.txt -c homeassistant/package_constraints.txt
|
||||||
pip install pytest-azurepipelines -c homeassistant/package_constraints.txt
|
|
||||||
displayName: 'Create Virtual Environment & Install Requirements'
|
displayName: 'Create Virtual Environment & Install Requirements'
|
||||||
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
||||||
# Explicit Cache Save (instead of using RestoreAndSaveCache)
|
# Explicit Cache Save (instead of using RestoreAndSaveCache)
|
||||||
@ -187,7 +186,7 @@ stages:
|
|||||||
python -m venv venv
|
python -m venv venv
|
||||||
|
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
pip install -r requirements_test.txt
|
pip install -r requirements_test.txt -c homeassistant/package_constraints.txt
|
||||||
displayName: 'Setup Env'
|
displayName: 'Setup Env'
|
||||||
- script: |
|
- script: |
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user