Add some debugging to azure mypy job (#25632)

This commit is contained in:
Ville Skyttä 2019-08-01 22:44:02 +03:00 committed by Paulus Schoutsen
parent a398b39e12
commit 767b8e9f25

View file

@ -201,15 +201,19 @@ stages:
container: $[ variables['PythonMain'] ] container: $[ variables['PythonMain'] ]
steps: steps:
- script: | - script: |
set -x
python -m venv venv python -m venv venv
. venv/bin/activate . venv/bin/activate
pip install -r requirements_test.txt -c homeassistant/package_constraints.txt pip install -r requirements_test.txt -c homeassistant/package_constraints.txt
displayName: 'Setup Env' displayName: 'Setup Env'
- script: | - script: |
set -x
TYPING_FILES=$(cat mypyrc) TYPING_FILES=$(cat mypyrc)
echo -e "Run mypy on: \n$TYPING_FILES" echo -e "Run mypy on: \n$TYPING_FILES"
. venv/bin/activate . venv/bin/activate
python --version
mypy --version
mypy $TYPING_FILES mypy $TYPING_FILES
displayName: 'Run mypy' displayName: 'Run mypy'