Files
ComfyUI-H3-Continuum-Tiled/.github/workflows/tests.yml
T

28 lines
738 B
YAML

name: tests
on:
push:
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
- name: Install test dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --index-url https://download.pytorch.org/whl/cpu torch
python -m pip install -r requirements.txt numpy safetensors pytest psutil opencv-python-headless Pillow
- name: Compile Python
run: python -m compileall -q .
- name: Run tests
run: python -m pytest -q -p no:cacheprovider