mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-03-23 06:40:23 -07:00
M01: add stub repositories for deterministic CI
- Create scripts/dev/create_stub_repos.py to satisfy paths.py assertion and import chain without cloning external repos - Add Create stub repositories step before Setup environment in run_tests - Remove Cache repositories step (stubs are deterministic, no network) Made-with: Cursor
This commit is contained in:
parent
1bbc0f4e59
commit
ac965561fe
2 changed files with 64 additions and 6 deletions
8
.github/workflows/run_tests.yaml
vendored
8
.github/workflows/run_tests.yaml
vendored
|
|
@ -25,12 +25,6 @@ jobs:
|
|||
with:
|
||||
path: models
|
||||
key: "2023-12-30"
|
||||
- name: Cache repositories
|
||||
id: cache-repos
|
||||
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
|
||||
with:
|
||||
path: repositories
|
||||
key: "repos-2023-12-30"
|
||||
- name: Install test dependencies
|
||||
run: pip install wait-for-it -r requirements-test.txt
|
||||
env:
|
||||
|
|
@ -53,6 +47,8 @@ jobs:
|
|||
env:
|
||||
PIP_DISABLE_PIP_VERSION_CHECK: "1"
|
||||
PIP_PROGRESS_BAR: "off"
|
||||
- name: Create stub repositories
|
||||
run: python scripts/dev/create_stub_repos.py
|
||||
- name: Setup environment
|
||||
run: python launch.py --skip-prepare-environment --skip-torch-cuda-test --exit
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue