setup-nextstrain-cli: allow nextstrain update to continue-on-error#49
setup-nextstrain-cli: allow nextstrain update to continue-on-error#49joverlee521 merged 2 commits intomasterfrom
Conversation
I missed in #48 that the command `nextstrain update` will exit with error for aws-batch and ambient runtimes. Instead of maintaining a list of runtime to run the update command, just allow it to continue-on-error.
|
Tested this in forecasts-ncov workflow Green checkmarks throughout the run even though the |
|
I find that error in the annotations summary page confusing. Would it be possible to do something about that? Like add a note to the annotation: "this is an expected failure" or the like? |
|
I can't think of an easy way to hide or rewrite the error. I think the proper solution is to remove this |
|
@victorlin wasn't the update step added to address the conda issue? We could fix the root cause there, or alternatively: make that setup step conditional on @joverlee521 wrote:
In my view the confusing error message is worth maintaining a list of 1 that will need to almost never be updated 🙃 |
The root cause was already fixed by nextstrain/cli#312. I believe the |
|
@tsibley oh I missed that, thanks! |
Description of proposed changes
I missed in #48 that the command
nextstrain updatewill exit with error for aws-batch and ambient runtimes. Instead of maintaining a list of runtime to run the update command, just allow it to continue-on-error.I found this error in separate work to update forecasts-ncov to use the pathogen-repo-build workflow with the aws-batch runtime.
Checklist