stable-diffusion-webui/.github/workflows/run_tests.yaml

30 lines
773 B
YAML
Raw Normal View History

name: Run basic features tests on CPU with empty SD model
2022-11-14 03:39:22 -07:00
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
2022-11-14 03:39:22 -07:00
with:
python-version: 3.10.6
2023-01-07 02:34:02 -07:00
cache: pip
cache-dependency-path: |
**/requirements*txt
2022-11-14 03:39:22 -07:00
- name: Run tests
2023-01-09 04:29:28 -07:00
run: python launch.py --tests --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