Skip to content

Commit 02ee8a1

Browse files
committed
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 <vincent.fu@samsung.com>
1 parent 70d9a98 commit 02ee8a1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ci/actions-install.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ install_macos() {
8484
#echo "Updating homebrew..."
8585
#brew update >/dev/null 2>&1
8686
echo "Installing packages..."
87-
HOMEBREW_NO_AUTO_UPDATE=1 brew install cunit libnfs
88-
pip3 install scipy six sphinx
87+
HOMEBREW_NO_AUTO_UPDATE=1 brew install cunit libnfs sphinx-doc
88+
brew link sphinx-doc --force
89+
pip3 install scipy six
8990
}
9091

9192
main() {

0 commit comments

Comments
 (0)