diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1d73654..4630b82 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,9 @@ jobs: sparse-checkout: sd-installer.sh sparse-checkout-cone-mode: false - name: Install - run: bash sd-installer.sh -t -1 | grep -q 'Launching Web UI with arguments' && echo "成功 Success" && exit 0 + run: | + tty=$(tty) + bash sd-installer.sh -t -1 | tee $tty | grep -q 'Launching Web UI with arguments' && echo '成功 Success' && exit 0 shell: /bin/bash --noprofile --norc -e {0} Network-Connected-Test-12: @@ -30,12 +32,14 @@ jobs: sparse-checkout: sd-installer.sh sparse-checkout-cone-mode: false - name: Install - run: bash sd-installer.sh -t -1 | grep -q 'Launching Web UI with arguments' && echo "成功 Success" && exit 0 + run: bash sd-installer.sh -t -1 | grep -q 'Launching Web UI with arguments' && echo '成功 Success' && exit 0 shell: /bin/bash --noprofile --norc -e {0} Network-Not-Connected-Test: runs-on: macos-latest steps: - name: Install - run: curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/wy-luke/StableDiffusion-Installer-For-Mac/$BRANCH_NAME/sd-installer.sh | /bin/bash -s -- -c -t -2 | grep -q 'Launching Web UI with arguments' && echo "成功 Success" && exit 0 + run: | + tty=$(tty) + curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/wy-luke/StableDiffusion-Installer-For-Mac/$BRANCH_NAME/sd-installer.sh | /bin/bash -s -- -c -t -2 | tee $tty | grep -q 'Launching Web UI with arguments' && echo '成功 Success' && exit 0 shell: /bin/bash --noprofile --norc -e {0}