Echo which python version is in use

Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
Dan Ryan
2019-05-27 16:05:56 -04:00
parent c37543bcb7
commit fb57a68d59
4 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -29,7 +29,8 @@ steps:
- script: |
echo "Python path: $(PY_EXE)"
echo "GIT_SSL_CAINFO: $(GIT_SSL_CAINFO)"
$(PY_EXE) -m pipenv install --deploy --dev
echo "PIPENV PYTHON VERSION: $(PIPENV_DEFAULT_PYTHON_VERSION)"
$(PY_EXE) -m pipenv install --deploy --dev --python $(PIPENV_DEFAULT_PYTHON_VERSION)
env:
PIPENV_DEFAULT_PYTHON_VERSION: '$(PIPENV_DEFAULT_PYTHON_VERSION)'
PYTHONWARNINGS: 'ignore:DEPRECATION'
@@ -1,5 +1,5 @@
steps:
- script: 'python -m pip install --upgrade pip setuptools wheel && python -m pip install -e .[tests] --upgrade'
- script: 'python -m pip install --upgrade pip setuptools wheel -e .[dev,tests] --upgrade'
displayName: Upgrade Pip & Install Pipenv
env:
PYTHONWARNINGS: 'ignore:DEPRECATION'
@@ -1,6 +1,7 @@
steps:
- script: |
# Fix Git SSL errors
echo "Using pipenv python version: $PIPENV_DEFAULT_PYTHON_VERSION"
git submodule sync && git submodule update --init --recursive
pipenv run pytest --junitxml=test-results.xml
displayName: Run integration tests
@@ -6,6 +6,7 @@ steps:
displayName: Fix Temp Variable
- script: |
echo "Using pipenv python version: $PIPENV_DEFAULT_PYTHON_VERSION"
git submodule sync && git submodule update --init --recursive
pipenv run pytest -ra --ignore=pipenv\patched --ignore=pipenv\vendor --junitxml=test-results.xml tests
displayName: Run integration tests