mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-13 08:52:02 +00:00
test(integration): scope offline resolution to the restricted runner
This commit is contained in:
parent
5133050db6
commit
4eb5e1e326
2 changed files with 3 additions and 1 deletions
|
|
@ -128,6 +128,8 @@ fi
|
|||
sudo iptables -L integration_only -n -v -x > "$results/egress-guard.txt"
|
||||
awk '$3 == "REJECT" && $1 > 0 { rejected=1 } END { exit !rejected }' "$results/egress-guard.txt"
|
||||
|
||||
export UV_OFFLINE=true
|
||||
|
||||
if [ "$mode" = parity ]; then
|
||||
export INTEGRATION_WORKERS=1
|
||||
else
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ def _install_base_native(worktree: Path, repo_root: Path) -> None:
|
|||
}
|
||||
_run(
|
||||
[
|
||||
"uv", "pip", "install", "--offline", "--python", sys.executable, "--no-deps",
|
||||
"uv", "pip", "install", "--python", sys.executable, "--no-deps",
|
||||
"--target", str(worktree.parent / "native-install"), "--editable", str(worktree),
|
||||
],
|
||||
cwd=worktree,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue