diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-11-27 13:40:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-27 13:40:26 +0000 |
commit | 8c8ad93bb5f01341513ce4b694f02d650edf0e80 (patch) | |
tree | f406e43d45b4c83860a39d5c2f6382772699f4bd /.github/workflows | |
parent | b24aed0b69e55285e9f0dcc4495d1b22e96ee1dc (diff) | |
parent | 14dfede8ddbf6b82bb290d5c4292d52b6b68e3ca (diff) | |
download | stable-diffusion-webui-gfx803-8c8ad93bb5f01341513ce4b694f02d650edf0e80.tar.gz stable-diffusion-webui-gfx803-8c8ad93bb5f01341513ce4b694f02d650edf0e80.tar.bz2 stable-diffusion-webui-gfx803-8c8ad93bb5f01341513ce4b694f02d650edf0e80.zip |
Merge pull request #4635 from mezotaken/master
CI tests with github-actions and some improvements to testing
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/run_tests.yaml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml new file mode 100644 index 00000000..49dc92bd --- /dev/null +++ b/.github/workflows/run_tests.yaml @@ -0,0 +1,31 @@ +name: Run basic features tests on CPU with empty SD 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@v4 + with: + python-version: 3.10.6 + - uses: actions/cache@v3 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} + restore-keys: ${{ runner.os }}-pip- + - name: Run tests + run: python launch.py --tests basic_features --no-half --disable-opt-split-attention --use-cpu all --skip-torch-cuda-test + - name: Upload main app stdout-stderr + uses: actions/upload-artifact@v3 + if: always() + with: + name: stdout-stderr + path: | + test/stdout.txt + test/stderr.txt |