Skip to content

Commit d998655

Browse files
authored
Update test_uv_install.yml
1 parent ba75e35 commit d998655

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/test_uv_install.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,24 @@ jobs:
3333
python -m pip install --upgrade pip
3434
pip install -e . # Install omnipkg in editable mode from your repo
3535
36+
- name: ⚙️ Configure omnipkg for non-interactive use
37+
run: |
38+
# Create omnipkg config directory
39+
mkdir -p ~/.config/omnipkg
40+
41+
# Create a basic config file to avoid interactive setup
42+
cat > ~/.config/omnipkg/config.json << EOF
43+
{
44+
"multiversion_base": "/opt/hostedtoolcache/Python/3.11.13/x64/lib/python3.11/site-packages/.omnipkg_versions",
45+
"redis_url": "redis://localhost:6379",
46+
"auto_cleanup": true,
47+
"cleanup_threshold_days": 30
48+
}
49+
EOF
50+
51+
echo "omnipkg config created:"
52+
cat ~/.config/omnipkg/config.json
53+
3654
- name: 🧪 Attempt to install uv==0.7.12 and uv==0.7.14 with omnipkg
3755
id: omnipkg_uv_install
3856
run: |

0 commit comments

Comments
 (0)