Files

25 lines
545 B
YAML

name: Tests
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# aiohttp is the only package the tests need from a ComfyUI install (for the client tests).
- run: pip install aiohttp
- run: python -m unittest discover -s tests -t . -v