ci: rely on pre-installed builder runner dependencies and remove redundant apt/pip steps
This commit is contained in:
@@ -22,11 +22,10 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install Dependencies
|
||||
- name: Verify Environment
|
||||
run: |
|
||||
python3 compilation/ensure_pip.py
|
||||
python3 -m pip install --upgrade pip --break-system-packages 2>/dev/null || python3 -m pip install --upgrade pip 2>/dev/null || true
|
||||
python3 -m pip install -r compilation/requirements.txt --break-system-packages 2>/dev/null || python3 -m pip install -r compilation/requirements.txt
|
||||
python3 --version
|
||||
python3 -c "import pgpy, fastapi, uvicorn, websockets, sqlalchemy; print('[+] All required dependencies are pre-installed in runner image.')"
|
||||
|
||||
- name: Verify Python Syntax
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user