mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-23 00:27:01 +08:00
Add speed check.
This commit is contained in:
parent
34c481be8b
commit
5fce0430c1
34
.github/workflows/speed-test.yml
vendored
Normal file
34
.github/workflows/speed-test.yml
vendored
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
name: Test ComfyUI Windows with Default Workflow 2
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
speed-test-runner:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [macos, linux]
|
||||||
|
include:
|
||||||
|
- os: macos
|
||||||
|
runner_label: [self-hosted, m2]
|
||||||
|
- os: linux
|
||||||
|
runner_label: [self-hosted, Linux, nvidia-tesla-t4]
|
||||||
|
runs-on: ${{ matrix.runner_label }}
|
||||||
|
steps:
|
||||||
|
- name: Install speedtest-cli for Linux
|
||||||
|
if : matrix.os == 'linux'
|
||||||
|
run: |
|
||||||
|
# For Ubuntu/Debian-based systems
|
||||||
|
sudo apt-get install -y speedtest-cli
|
||||||
|
|
||||||
|
- name: Install speedtest-cli for MacOS
|
||||||
|
if : matrix.os == 'macos'
|
||||||
|
run: |
|
||||||
|
# For macOS
|
||||||
|
brew install speedtest-cli
|
||||||
|
|
||||||
|
- name: Check network speed
|
||||||
|
run: |
|
||||||
|
speedtest-cli
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user