mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Echo which python version is in use
Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user