From 767b8e9f25affbebb98d65f57c0d78b532a951ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 1 Aug 2019 22:44:02 +0300 Subject: [PATCH] Add some debugging to azure mypy job (#25632) --- azure-pipelines-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/azure-pipelines-ci.yml b/azure-pipelines-ci.yml index 9158d8045f0..eef4731c4ac 100644 --- a/azure-pipelines-ci.yml +++ b/azure-pipelines-ci.yml @@ -201,15 +201,19 @@ stages: container: $[ variables['PythonMain'] ] steps: - script: | + set -x python -m venv venv . venv/bin/activate pip install -r requirements_test.txt -c homeassistant/package_constraints.txt displayName: 'Setup Env' - script: | + set -x TYPING_FILES=$(cat mypyrc) echo -e "Run mypy on: \n$TYPING_FILES" . venv/bin/activate + python --version + mypy --version mypy $TYPING_FILES displayName: 'Run mypy'