diff --git a/.github/workflows/test-example-workflows.yml b/.github/workflows/test-example-workflows.yml index f2220f72b..bb20b4531 100644 --- a/.github/workflows/test-example-workflows.yml +++ b/.github/workflows/test-example-workflows.yml @@ -1,20 +1,15 @@ name: Test ComfyUI Example Workflows on: - pull_request: - branches: - - master - - dev - paths-ignore: - - 'tests/**' - - 'tests-ui/**' - push: - paths-ignore: - - 'tests/**' - - 'tests-ui/**' + issue_comment: + types: [created] workflow_dispatch: jobs: test-default-workflow: + if: >- + github.event_name == 'issue_comment' && + contains(github.event.comment.body, 'run_test') && + contains(fromJson('["WRITE", "MAINTAIN", "ADMIN"]'), github.event.comment.author_association) strategy: matrix: os: [macos, linux] @@ -34,6 +29,8 @@ jobs: models-json: '{"v1-5-pruned-emaonly.ckpt": {"url": "https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt", "directory": "checkpoints"}}' workflow_name: "default-workflow" workflow_json_path: '.github/workflows/json_examples/workflow_api.json' + gcs_bucket_name: 'comfy-ci-results' + google_credentials: ${{ secrets.GCS_SERVICE_ACCOUNT_JSON }} timeout: 50 - name: Test Lora Workflow uses: drip-art/comfy-action@main diff --git a/.github/workflows/windows-os-test.yml b/.github/workflows/windows-os-test.yml index 484058810..8c53f14e3 100644 --- a/.github/workflows/windows-os-test.yml +++ b/.github/workflows/windows-os-test.yml @@ -1,21 +1,16 @@ name: Test ComfyUI Windows with Default Workflow on: - pull_request: - branches: - - master - - dev - paths-ignore: - - 'tests/**' - - 'tests-ui/**' - push: - paths-ignore: - - 'tests/**' - - 'tests-ui/**' + issue_comment: + types: [created] workflow_dispatch: jobs: test-action: + if: >- + github.event_name == 'issue_comment' && + contains(github.event.comment.body, 'run_test') && + contains(fromJson('["WRITE", "MAINTAIN", "ADMIN"]'), github.event.comment.author_association) runs-on: Windows steps: - name: Use ComfyUI GitHub Action