[CI] move Krea-2 expansion to slow and skip failing README snippets (#5347)
Signed-off-by: wangyu <410167048@qq.com>
This commit is contained in:
1 parent
05b794f29b
commit
f72b38184b
3 files changed
+5
-2
No files matched your search
@@ -26,6 +26,9 @@ EXAMPLE_OUTPUT_SUBFOLDER = "example_offline_t2i"
|
||||
def _skip_readme_snippet(language: str, code: str, h2_title: str) -> tuple[bool, str]:
|
||||
if h2_title == "Web UI Demo":
|
||||
return True, f"README section '{h2_title}' is intentionally excluded for examples tests"
|
||||
# Krea-2 Turbo/Raw README snippets currently fail in CI (more_cli_examples_006/007).
|
||||
if "krea/Krea-2-Turbo" in code or "krea/Krea-2-Raw" in code:
|
||||
return True, "Krea-2 README snippets are temporarily skipped (CI failures)"
|
||||
return False, ""
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user