test: prevent LinuxBrew in GitHub Actions CI
Ubuntu-latest in GitHub Actions provides linuxbrew, so the tests install both the native Debian dependency packages, and also the linuxbrew variants which is slower and entirely redundant. Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
@@ -69,7 +69,8 @@ if [ -n "$APT" ]; then
|
|||||||
$sudo_command $APT install -y graphviz # for debugging
|
$sudo_command $APT install -y graphviz # for debugging
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$BREW" ]; then
|
# Prevent linuxbrew installing redundant deps in CI
|
||||||
|
if [ -n "$BREW" -a "$RUNNER_OS" != "Linux" ]; then
|
||||||
# coreutils contains gtimeout, gstat, etc
|
# coreutils contains gtimeout, gstat, etc
|
||||||
$BREW install pkg-config libvirt augeas coreutils || true
|
$BREW install pkg-config libvirt augeas coreutils || true
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user