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:
Joe Groocock
2021-02-12 16:37:20 +00:00
parent 95b93c60d9
commit 7cace52ab5

View File

@@ -69,7 +69,8 @@ if [ -n "$APT" ]; then
$sudo_command $APT install -y graphviz # for debugging
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
$BREW install pkg-config libvirt augeas coreutils || true
fi