Skip to content

Commit

Permalink
➖ Remove pip caching for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Kaminski de Souza committed Jul 8, 2020
1 parent a70a80b commit 453afe2
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions azure-pipelines.yml
Expand Up @@ -49,19 +49,19 @@ steps:
pip install pip-tools
displayName: 'Install Pip Tools'

- task: Cache@2
displayName: Cache pip environment
inputs:
key: pip-sync | "$(Agent.OS)" | requirements/azure-requirements.txt
restoreKeys: |
pip-sync | "$(Agent.OS)"
pip-sync
path: $(PIP_CACHE_FOLDER)
cacheHitVar: PIP_CACHE_RESTORED
# - task: Cache@2
# displayName: Cache pip environment
# inputs:
# key: pip-sync | "$(Agent.OS)" | requirements/azure-requirements.txt
# restoreKeys: |
# pip-sync | "$(Agent.OS)"
# pip-sync
# path: $(PIP_CACHE_FOLDER)
# cacheHitVar: PIP_CACHE_RESTORED

- script: pip-sync requirements/azure-requirements.txt
displayName: Synchronize virtual environment with given requirements.txt (if not restored from cache)
condition: eq(variables.PIP_CACHE_RESTORED, 'false')
# condition: eq(variables.PIP_CACHE_RESTORED, 'false')

- script: |
pytest --user_name $(CHALLENGE_USER_NAME) --user_password $(CHALLENGE_USER_PASSWORD) --junitxml=junit/test-results.xml --cov=src --cov-report=xml --cov-report=html tests/
Expand Down

0 comments on commit 453afe2

Please sign in to comment.