-
Notifications
You must be signed in to change notification settings - Fork 43
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
Cache examples #373
Cache examples #373
Conversation
If possible, try including the build times for sphinx-gallery when building. See the build output from For example:
This way, you can tell which examples are being built from scratch and if your cache is working. |
Looks like it's coming now? From the PR CI run: Though, strange it takes 0 s to build each, :-). Ha, perhaps that is correct though because Sphinx did not build them since they were already there from before? |
This shows that the caching mechanism is working. There are 3 CI runs for this PR: The first one didn't have any cache, so it ran all examples. The second one didn't change any example script, so it uses the cache and skips the gallery build. The third one changes the example scripts which invalidates the cache, so it again ran the examples fully (there is an unittest failure in the latest run which I'm looking into). |
Yeah, perfect then, this is going to help. It appears our CI runners still have some trouble with the parametric workflow: |
* Fix deprecation warnings due to invalid escape sequence in docstrings (#378) * Fix deprecation warnings due to invalid escape sequence in docstrings * Fix unittest * Cache examples (#373) * Cache examples * fix tests by cleaning up an issue in the test util code * Pytest for the Fault Tolerant Meshing Workflow - exhaust system * Fixing codespell error * Fixing codespell error2 * fix tests by cleaning up an issue in the test util code Co-authored-by: Mainak Kundu <[email protected]> Co-authored-by: Yogesh Patel <[email protected]>
* Pytest for the Fault Tolerant Meshing Workflow - exhaust system * Fixing codespell error * Fixing codespell error2 * Pytest for the Fault Tolerant Meshing Workflow - exhaust system * Fixing codespell error * Fixing codespell error2 * fix tests by cleaning up an issue in the test util code (#383) * Fix deprecation warnings due to invalid escape sequence in docstrings (#378) * Fix deprecation warnings due to invalid escape sequence in docstrings * Fix unittest * Cache examples (#373) * Cache examples * fix tests by cleaning up an issue in the test util code * Pytest for the Fault Tolerant Meshing Workflow - exhaust system * Fixing codespell error * Fixing codespell error2 * fix tests by cleaning up an issue in the test util code Co-authored-by: Mainak Kundu <[email protected]> Co-authored-by: Yogesh Patel <[email protected]> * remove one asserted name (#385) * Renaming end-to-end tests * Tol change - abs to rel Co-authored-by: ANSYS\spearson <[email protected]> Co-authored-by: Sean Pearson <[email protected]> Co-authored-by: Mainak Kundu <[email protected]>
No description provided.