Replies: 5 comments 12 replies
-
Hi @ocots! Yes, you should be able to do that. You just need to use the badge of the package in the The URL of the badge with the last release of a CUTEst.jl is: https://img.shields.io/github/release/JuliaSmoothOptimizers/CUTEst.jl.svg You can adapt it dor any package in the organization https://img.shields.io/github/release/control-toolbox/OptimalControl.jl.svg |
Beta Was this translation helpful? Give feedback.
-
My question was not clear. I want to get the version of OptimalControl.jl used by the application that I test which should be written in the Project.toml. For instance, here I want to get But I think I have answered to my question since I can parse the file and then add some info here I try it. |
Beta Was this translation helpful? Give feedback.
-
@amontoison You can find my BreakageApplications.yml and a result here. It seems to work. Note that all applications fail since I have updated the version. The current version of OptimalControl is 0.12. |
Beta Was this translation helpful? Give feedback.
-
I don't want to run this breakage every time I make a PR or push on main so I think next time I will add a on:
workflow_dispatch: to run it whenever I want and instead of creating a comment in a PR, I would rather it creates an issue with the output. |
Beta Was this translation helpful? Give feedback.
-
@ocots Can we close this? |
Beta Was this translation helpful? Give feedback.
-
Hi!
@amontoison The Breakage.yml gives info about failure or success for dependent packages / applications.
Based on your file, I have made one where applications are tested, in the sense that it is not the unit tests which are run but the documentation. Here is an example of such an application. The dependence to our package OptimalControl.jl may be seen in the
docs/Project.toml
.Here is my question.
Would it be possible to add the following info in the comment from the bot: the version of our package that is actually used by the package / application which is tested?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions