-
Notifications
You must be signed in to change notification settings - Fork 33
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
Issue 917: Create a markdown with the results of the synthetic recovery runs #925
Conversation
Great idea to use live-codes! I didn't know of its existence.
I think it might be because it expects the artifact to be uploaded by a different action (for whatever reason) which then triggers the live-codes action - as in the example at https://github.com/live-codes/pr-comment-from-artifact/blob/15cb31a249e2336571f5d8cc244f6132b7d90ead/README.md?plain=1#L29 |
Linked issue number should be #917. |
Clearly I haven't either. I made a separate action since the comment is dependent on the success of the "synthetic validation check" (though they probably can be combined into one, I just wasn't sure). I am also testing out an alternative since it seems a bit clunky to have to make another directory |
you should be able to do this within one file like this https://github.com/epiforecasts/eval-germany-sp-nowcasting/blob/main/.github/workflows/build-and-publish-documentation.yaml I think |
My (very limited) understanding is that it requires a separate action and that's why the current one is failing (per @sbfnk's comment) though I could be misunderstanding. My attempt at that though, with the separate An alternative approach uses a GH action that George wrote for a previous project kaitejohnson#5 (comment) which seems to be working, but not sure if we want to use that. |
It's how I read the error message but that may have been wrong of course.
What went wrong? Looking at the action log for |
The action still exists but was never triggered. Do you manually add a new action to the required actions for a pull request? I think this is how previous repos worked for me but only an admin could add them.. not sure if this is the same but that might be why the separate action isn't working. |
. Do you manually add a new action to the required actions for a pull request? No. this suggests there is an issue with the trigger |
wait is it just because its not on main? so the trigger isn't quite right |
Possibly, I'm not sure. I opened a PR for the alternative method which uses what George had set up (though now appears to be failing) #928 |
I don't think we want to depend on CFA internal tooling if we can avoid it . |
I had thought the action was just a public action (similar to live codes) but now I am getting an error in the I will try as a temporary test, setting the branches to be this branch to see if I can get the action with live codes to trigger |
Yeah I am not sure why its skipping it here kaitejohnson#3 @seabbs |
Description
This PR closes #917 (part of it)
It creates a
synthetic_recovery.md
which uses the figures generated ininst/dev/recover_synthetic/rt.R
andinst/dev/recover_synthetic/eval_rt.R
to create visualisations of the fits to simulated data under different model specifications.This markdown is then rendered and uploaded as an artifact. The last component, posting a comment to the PR with the rendered markdown as an object, I am still stuck on. I could try using touchstone? I am not sure why the live-codes version isn't recognising the id of the artifact.
Initial submission checklist
devtools::test()
anddevtools::check()
).devtools::document()
).lintr::lint_package()
).After the initial Pull Request