Context
Motivated by accidentally breaking nextstrain run compat in measles (nextstrain/measles#73, nextstrain/measles#100).
Description
Ideally, we'd check the nextstrain-pathogen.yaml file for nextstrain run compatibility and automatically test the workflows that are marked as compatible. Maybe a dynamic matrix of workflows?
Then set up and run the workflows with the currently commit hash of the CI run.
nextstrain setup <pathogen>@<commit>
nextstrain run <pathogen> <workflow> /tmp/<workflow>-output
Open questions
- how do we limit the runtime of the
nextstrain run tests, e.g. use example data?
- related to [1], should we limit how many workflows to test?
Context
Motivated by accidentally breaking
nextstrain runcompat in measles (nextstrain/measles#73, nextstrain/measles#100).Description
Ideally, we'd check the
nextstrain-pathogen.yamlfile fornextstrain runcompatibility and automatically test the workflows that are marked as compatible. Maybe a dynamic matrix of workflows?Then set up and run the workflows with the currently commit hash of the CI run.
Open questions
nextstrain runtests, e.g. use example data?