Skip to content

Commit

Permalink
ci: free up resources in docs build (#12273)
Browse files Browse the repository at this point in the history
Fixes #12271 🦕
  • Loading branch information
parthea authored Feb 5, 2024
1 parent d72e64c commit 0a30c68
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ci/run_single_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ case ${TEST_TYPE} in
;;
docs)
nox -s docs
# Clean up built docs and python cache after the build process to avoid
# `[Errno 28] No space left on device`
# See https://github.com/googleapis/google-cloud-python/issues/12271
rm -rf docs/_build
find . | grep -E "(__pycache__)" | xargs rm -rf
retval=$?
;;
docfx)
Expand Down

0 comments on commit 0a30c68

Please sign in to comment.