CoolFace
Apppublic

fred-dev/comfy_ui_ali

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes
test-launch.yml46 linesDownload Raw Back to workflows
1name: Test server launches without errors2 3on:4  push:5    branches: [ main, master ]6  pull_request:7    branches: [ main, master ]8 9jobs:10  test:11    runs-on: ubuntu-latest12    steps:13    - name: Checkout ComfyUI14      uses: actions/checkout@v415      with:16        repository: "comfyanonymous/ComfyUI"17        path: "ComfyUI"18    - uses: actions/setup-python@v419      with:20        python-version: '3.9'21    - name: Install requirements22      run: |23        python -m pip install --upgrade pip24        pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu25        pip install -r requirements.txt26        pip install wait-for-it27      working-directory: ComfyUI28    - name: Start ComfyUI server29      run: |30        python main.py --cpu 2>&1 | tee console_output.log &31        wait-for-it --service 0.0.0.0:7860 -t 3032      working-directory: ComfyUI33    - name: Check for unhandled exceptions in server log34      run: |35        if grep -qE "Exception|Error" console_output.log; then36          echo "Unhandled exception/error found in server log."37          exit 138        fi39      working-directory: ComfyUI40    - uses: actions/upload-artifact@v441      if: always()42      with:43        name: console-output44        path: ComfyUI/console_output.log45        retention-days: 3046