-
Notifications
You must be signed in to change notification settings - Fork 1
Add Julia test to CI workflow #19
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
Conversation
7dbee85 to
44225b9
Compare
|
Great. Thanks for doing this! There's one problem with adding this test that I just realised this morning. According to the current release checklist, we will not be available during the CI test run that follows the Maybe there's a way to cleverly reorder the release checklist to make the Or, maybe we could "move" this julia test out of the CI workflow and into the release checklist itself after the |
This comment has been minimized.
This comment has been minimized.
Yeah, but at that point we're already committed to the release, so if it fails 😕 ... |
This comment has been minimized.
This comment has been minimized.
|
Whe might want to use an |
Right, but you could say the same about I think what we want to avoid at all cost is to publish a non-working package over npm, pypi, the julia general registry and pushing non-working git-tag over to the Github releases. That said, making a "wrong" version commit (i.e. So, it would be nice to find a way to test the julia package with the updated |
It's a catch 22 -- can't test without publish, can't publish without test 😋 I still think |
Right. That's why I have doubt about using Artifacts for a project like this one, where the non-julia files are "source" files not just "assets" (i.e. artifacts). Like mentioned in #20, if |
abefbc9 to
d7c790f
Compare
|
I side-stepped the potential invalid url issue in 5d98d56 by pre-setting up the artifact directory (so no download gets triggered)
The disadvantage with this solution is that we'll never test the url, even if it's valid. |
d7c790f to
5d98d56
Compare
|
we could use Downloads for that though, on failure, extract deps manually. |
|
We can now either :
I like option#2 a bit less because it amounts to not really testing the url anyways (it'll always work with the 'hack' in the CI) we should rely on that manual test in the post-publish step IMO |
I would do neither. (1) Testing the Julia package after the
(2) Setting an if/else for downloading the artifacts from the url isn't that great either. Let's say we make a PR that adds a features in the JS code, this proposed test would then attempt to grab an outdated JS file from the previous published version. So we would essentially test something that will be replaced once the feature is released 🙃 So, I'd say we merge this PR as is (maybe with some additional comments in the workflow file) and let the The test added in is still very useful as it checks that there are no mistakes make by the |
|
I agree with your (1) and (2) points. I'll add comments to the workflow soon. |
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.
Great !

ref: #18 (comment)