-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pathogen-repo-ci: Run with --ambient
in addition to --docker
#25
Comments
Definitely understand this desire, though it will ~double CI run times for all pathogen repos and significantly increase complexity of the shared workflow. It would probably be better to make a separate shared workflow and invoke it separately (this will allow opt-in and also parallel jobs). |
For parallel running: instead of a separate workflow, what about a separate job within this workflow? There can be boolean inputs used to condition execution of jobs (e.g. |
Ah, sure. I guess instead of even a separate job within this workflow, it could be one job with a matrix of conditions to help reduce repetition. |
We still don't test our pathogen repos with the ambient (née native) runtime… but I did expand pathogen-repo-ci to support testing on multiple runtimes and changed the default to Docker + Conda instead of just Docker. This was to support invoking pathogen-repo-ci for several repos as a smoke test for new Docker runtime images and Conda runtime packages. The upshot though is it would much easier and clearer now to add testing of the ambient runtime too, though I'm still not sure we want to commit to always doing so for all pathogen repos. |
--native
in addition to --docker
--ambient
in addition to --docker
I'm not sure there's any need to test "ambient" as "ambient" could be anything. It would only make sense if we specify an I'm not aware of many such |
Ah, the conception of this issue is not to test every possible ambient environment. It's to test that workflows aren't too tightly-coupled to one specific runtime, e.g. Docker, and to avoid bugs like the one noted in the issue description above. Note that this issue predates the Conda runtime's existence; Docker or ambient were what folks used. And it predates the multi-runtime testing that now occurs regularly (see my last comment above). With routine multi-runtime testing nowadays, the usefulness of testing an ambient environment is lower: it'd be mostly to check that our documented/suggested/example ambient setup works as expected and not as a guard against too-tight runtime-workflow coupling as this issue was originally conceived.
I don't think we want to return to publishing a Conda environment file; there's history there. |
This be done quite easily with a |
Yeah, I'm ok with "not planned". I think the value of doing it now is significantly less than it was when originally proposed. |
Currently, pathogen-repo-ci runs with Docker only:
.github/.github/workflows/pathogen-repo-ci.yaml
Line 142 in 24efb19
It would be good to also run with
--native
to catch issues such as nextstrain/ncov#968.The text was updated successfully, but these errors were encountered: