diff options
| author | 2020-10-06 14:14:11 -0700 | |
|---|---|---|
| committer | 2020-10-06 14:14:11 -0700 | |
| commit | 9243dcb47d126cb506baf2e57d18ba2be7a7c2e6 (patch) | |
| tree | 634bf0e5fd094cee75d77b2b91efa2ae3ae581f2 | |
| parent | PR #1216 Starify: correctly show old nick (diff) | |
CI: avoid failing whole job if a cache task fails
Restoring from cache is non-critical. The CI can recover if cache tasks
fail.
| -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 |