diff options
author | Vladimir Repin <32306715+mezotaken@users.noreply.github.com> | 2022-11-14 10:39:22 +0000 |
---|---|---|
committer | Vladimir Repin <32306715+mezotaken@users.noreply.github.com> | 2022-11-14 10:39:22 +0000 |
commit | 93d6c0209ae55632b72751cf82740e32a0cd81bc (patch) | |
tree | 5624ebfb70e823b0a1be1f496ecdba75fb02c92a /.github/workflows | |
parent | 007f4f7314eabd9cc3a2b0d11889de49ad3c682a (diff) | |
download | stable-diffusion-webui-gfx803-93d6c0209ae55632b72751cf82740e32a0cd81bc.tar.gz stable-diffusion-webui-gfx803-93d6c0209ae55632b72751cf82740e32a0cd81bc.tar.bz2 stable-diffusion-webui-gfx803-93d6c0209ae55632b72751cf82740e32a0cd81bc.zip |
Tests separated for github-actions CI
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/run_tests.yaml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml new file mode 100644 index 00000000..a56a8110 --- /dev/null +++ b/.github/workflows/run_tests.yaml @@ -0,0 +1,26 @@ +name: Run tests on CPU with empty model + +on: + - push + - pull_request + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v3 + - name: Set up Python 3.10 + uses: actions/setup-python@v3 + with: + python-version: 3.10.6 + - uses: actions/cache@v2 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} + restore-keys: | + ${{ runner.os }}-pip- + - name: Run tests + run: | + export COMMANDLINE_ARGS="--tests basic_features --no-half --disable-opt-split-attention --use-cpu all" + python launch.py |