Support integration tests with Redis binary (#17045)

This commit is contained in:
fzyzcjy
2026-01-17 11:59:04 +08:00
committed by GitHub
parent 305c1a575a
commit a7b5f75d88
5 changed files with 125 additions and 6 deletions
@@ -4,10 +4,10 @@ set -euxo pipefail
# Check if sudo is available
if command -v sudo >/dev/null 2>&1; then
sudo apt-get update
sudo apt-get install -y libssl-dev pkg-config protobuf-compiler
sudo apt-get install -y libssl-dev pkg-config protobuf-compiler redis-server
else
apt-get update
apt-get install -y libssl-dev pkg-config protobuf-compiler
apt-get install -y libssl-dev pkg-config protobuf-compiler redis-server
fi
# Install rustup (Rust installer and version manager)