-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
CI reduce verbosity of build_doc.sh #23557
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
CI reduce verbosity of build_doc.sh #23557
Conversation
We need to properly configure a per-branch or per-PR cache folder to be reused for ccache to work as expected for the doc builds but I would rather not do it as part of this PR. I think this is already a net improvement: the logs of the last is much easier to parse than previously. See for instance this log: https://github.com/scikit-learn/scikit-learn/runs/6771165338?check_suite_focus=true |
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 @ogrisel. I agree that we should reduce the verbosity of that script. LGTM.
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.
I agree this is more readable. LGTM
The log of the documentation build is very verbose and can sometimes lead firefox to display black pages with a very long scroll bars for several seconds making it painful to read the error message when working on a failing example (e.g. https://github.com/scikit-learn/scikit-learn/runs/6754051284?check_suite_focus=true).
This PRs changes a few things in the build_doc.sh script to make that log shorter and focused on documentation related issues:
try to useremove all verbose bash optionsset -v
instead ofset -x
pip
to hide the build log by default when there is not build problem.I also renamed variables related to miniconda to account 8000 for the switch to mambaforge.