-
Notifications
You must be signed in to change notification settings - Fork 22
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
TikzPictures.jl requirement #110
TikzPictures.jl requirement #110
Conversation
For some reason it looks like using BenchmarkProfiles
export_performance_profile_tikz() returns ERROR: Please load TikzPictures.jl package to access this function. as expected, but using TikzPictures
export_performance_profile_tikz(rand(25,3),"figure") returns ERROR: UndefVarError: TIKZ not defined while This also causes the tests to crash. |
Just fixed the issue, |
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.
Thanks for the PR! It looks essentially good, just one comment
remove unecessary pkg specification in tests
Thanks for noticing ! |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #110 +/- ##
==========================================
- Coverage 96.39% 96.09% -0.31%
==========================================
Files 5 5
Lines 305 307 +2
==========================================
+ Hits 294 295 +1
- Misses 11 12 +1 ☔ View full report in Codecov by Sentry. |
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.
Just trying to fix the tests
Hi @d-monnet the test fails here. Could you follow the example of ADNLPModels.jl for this? |
It doesn't seem to solve the problem... |
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.
Hey @d-monnet ! It finally works :). When you use Require you no longer do the using
test/Project.toml
Outdated
UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228" | ||
|
||
[compat] | ||
LaTeXStrings = "^1.3" |
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.
Could you add the missing entries here?
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.
Thanks @tmigot ! Sure, on it ! I was wondering what default versions are used for the [extra] entry of the main Project.toml, since the tests were working with whatever these versions were before I added the requirement feature ?
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.
It will take the most up-to-date version
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.
Should compat for test.jl be added there too ?
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.
Looks good, thanks @d-monnet ! (Please don't forget to ''squash and merge'')
Makes TikzPictures.jl a requirement for using
export_performance_profile_tikz()