Skip to content

Commit

Permalink
feat: add test action
Browse files Browse the repository at this point in the history
  • Loading branch information
wy-luke committed Sep 3, 2023
1 parent 8c66b8c commit b9aad48
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test

on:
workflow_dispatch:
push:
branches: [main]

jobs:
Yes-Test:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: sd-installer.sh
sparse-checkout-cone-mode: false
- run: pwd
- run: ls
- run: ls -la ${{ github.workspace }}
- name: Yes
run: yes | bash ${{ github.workspace }}/StableDiffusion-Installer-For-Mac/sd-installer.sh

No-Test:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: sd-installer.sh
sparse-checkout-cone-mode: false
- name: No
run: yes n | bash ${{ github.workspace }}/StableDiffusion-Installer-For-Mac/sd-installer.sh

0 comments on commit b9aad48

Please sign in to comment.