Skip to content
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

DOC/TST make circle faster #20727

Merged
merged 1 commit into from Jul 23, 2021
Merged

Conversation

jklymak
Copy link
Member

@jklymak jklymak commented Jul 23, 2021

PR Summary

According to #20720 (comment), compressing images takes about 15% of the build time, as does the uncollapsed navigation, so don't do those costly steps if running Circle CI.

Note that the pydata-sphinx-theme is still quite slow, taking 50% more time than the bare build without the other two options.

PR Checklist

  • Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (run flake8 on changed files to check).
  • New features are documented, with examples if plot related.
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • Conforms to Matplotlib style conventions (install flake8-docstrings and run flake8 --docstring-convention=all).
  • New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).

@jklymak
Copy link
Member Author

jklymak commented Jul 23, 2021

This worked. Build was 30 minutes, but Circle seems slow currently. Upload was 5 minutes.

Compare to the build for #20725 which took 47 minutes and 7 minutes to upload. I think compressing the images doesn't make up for all the extra verbiage in every html file from the navigation.

@jklymak jklymak marked this pull request as ready for review July 23, 2021 23:10
@tacaswell tacaswell added this to the v3.5.0 milestone Jul 23, 2021
@tacaswell
Copy link
Member

codecov still saw an upload from appveyor ?! There are some mysteries not worth chasing down...

@tacaswell tacaswell merged commit 88f53b1 into matplotlib:master Jul 23, 2021
@tacaswell
Copy link
Member

Thanks for pushing on this @jklymak !

@jklymak jklymak deleted the doc-make-circle-faster branch July 23, 2021 23:15
@jklymak jklymak mentioned this pull request Jul 24, 2021
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants