Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The ingest workflow current runs in <1 minute so I figured it'd be nice to add as an additional check in the GH Action CI workflow. If the ingest workflow ever runs for too long, we should figure out a way to subset the ingest data. The CI build config includes a bogus key because Snakemake requires the config file to have at least one top level key. Previous CI run without the bogus key ran into an error¹ ``` snakemake.exceptions.WorkflowError: Config file must be given as JSON or YAML with keys at top level. ``` ¹ <https://github.com/nextstrain/zika/actions/runs/9948628997/job/27483549394#step:9:17>
- Loading branch information
44f27a5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More precisely, Snakemake requires a YAML file with a top-level map/dict/object type. It may be empty; keys are not required.
We could avoid the bogus config key above by using flow syntax for a map (
{}
) instead, e.g.The bogus config key also got propagated to measles, rabies, and oropouche, and seems likely to propagate further over time. It'd be nice to avoid, IMO.
44f27a5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Memorized as an issue in the pathogen-repo-guide repo