24 lines
575 B
YAML
24 lines
575 B
YAML
name: Run parser tests
|
|
on:
|
|
- workflow_call
|
|
- workflow_dispatch
|
|
- push
|
|
|
|
jobs:
|
|
run-parser-tests:
|
|
name: Run parser tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v4
|
|
- name: Check out ComfyUI
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: comfyanonymous/ComfyUI
|
|
path: ComfyUI
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.11'
|
|
- run: pip install pytest typing-extensions
|
|
- run: PYTHONPATH=ComfyUI pytest tests/test_parser.py
|