Update pathogen-repo-ci
to better support CI [#63]
#86
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds the following features to the
pathogen-repo-ci
workflow:build-target
argument that will get passed tonextstrain build
as a target directory — this allows the targeting of sub-dir based workflows, which was the main original issue in ENH: Allow pathogen-repo-ci to invoke workflow in subfolder #63download-previous-artifact
,previous-artifact-name
) and a conditional step (Dowload previous step artifact
) to support the downloading of the build artifact from a previous step to allow testing of later steps in a complete pathogen repo buildThis combination of features was all that was needed to support a CI workflow for
seasonal-cov
that:Description of proposed changes
This is an attempt to address the issues in #63 , which I also ended up running in to while trying to add CI to the
seasonal-cov
repo. I made a copy of this workflow into theseasonal-cov
repo, and made the minimum viable set of changes needed to support the CI work I wanted to add.Related issue(s)
seasonal-cov/#8
Checklist