diff options
author | 2020-11-07 12:59:59 +0100 | |
---|---|---|
committer | 2020-11-07 12:59:59 +0100 | |
commit | 1f87fe81d213561d8bd89d8c3ffa8acf44e227cf (patch) | |
tree | 04da3f6e742ee1c7abd40007c6df106e126cd66d | |
parent | Merge pull request #1271 from spacecraft1013/code_instructions (diff) | |
parent | CI: avoid failing whole job if a cache task fails (diff) |
Merge pull request #1219 from python-discord/bug/ci/cache-continue-on-error
CI: avoid failing whole job if a cache task fails
-rw-r--r-- | azure-pipelines.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4500cb6e8..9f58e38c8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -21,7 +21,6 @@ jobs: BOT_TOKEN: bar REDDIT_CLIENT_ID: spam REDDIT_SECRET: ham - WOLFRAM_API_KEY: baz REDIS_PASSWORD: '' steps: @@ -38,6 +37,7 @@ jobs: key: python | $(Agent.OS) | "$(python.pythonLocation)" | 0 | ./Pipfile | ./Pipfile.lock cacheHitVar: PY_ENV_RESTORED path: $(PYTHONUSERBASE) + continueOnError: true - script: echo '##vso[task.prependpath]$(PYTHONUSERBASE)/bin' displayName: 'Prepend PATH' @@ -65,6 +65,7 @@ jobs: inputs: key: pre-commit | "$(python.pythonLocation)" | 0 | .pre-commit-config.yaml path: $(PRE_COMMIT_HOME) + continueOnError: true # pre-commit's venv doesn't allow user installs - not that they're really needed anyway. - script: export PIP_USER=0; pre-commit run --all-files |