From 02ee8a1ba7ea798f03fb029f589382b6f799be24 Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Fri, 4 Nov 2022 13:15:10 -0400 Subject: [PATCH] test: use homebrew to install sphinx instead of pip on macOS With the current GitHub Actions macOS image, pip3 install sphinx does not appear to place sphinx-doc in the path. This results in documentation build failures. Resolve this by using homebrew to install sphinx-doc and add it to the search path. https://www.sphinx-doc.org/en/master/usage/installation.html https://github.com/vincentkfu/fio/actions/runs/3395703049/jobs/5645918799 Signed-off-by: Vincent Fu --- ci/actions-install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/actions-install.sh b/ci/actions-install.sh index 82e14d2a..c16dff16 100755 --- a/ci/actions-install.sh +++ b/ci/actions-install.sh @@ -84,8 +84,9 @@ install_macos() { #echo "Updating homebrew..." #brew update >/dev/null 2>&1 echo "Installing packages..." - HOMEBREW_NO_AUTO_UPDATE=1 brew install cunit libnfs - pip3 install scipy six sphinx + HOMEBREW_NO_AUTO_UPDATE=1 brew install cunit libnfs sphinx-doc + brew link sphinx-doc --force + pip3 install scipy six } main() { -- 2.25.1