mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-28 22:57:19 -05:00
fix: align the suite with the site layout
The redesign moved the technical questions to technical-faq.md, made the Get your files rows generated from each platform key and reduced getting-started.md to links. Tests now read those places: the pack-row test reads the rendered page. The new site scripts go through run_cli and refuse abbreviated options. The three maintenance image tools are exempt by name from the build dependency rule: their output is committed and the build only reads it. siteguides.py now triggers the site deploy, and the recipe counts match the store.
This commit is contained in:
1 parent
2870c72ccb
commit
2d2addd6d2
12 files changed
+66
-63
No files matched your search
@@ -52,6 +52,16 @@ class SuiteWithoutJsonschema(unittest.TestCase):
|
||||
self.assertEqual(completed.returncode, 0, completed.stdout + completed.stderr[-2000:])
|
||||
|
||||
|
||||
# Tools a maintainer runs by hand when a logo or a card changes. Their output
|
||||
# is committed under docs_assets/ and the build only reads it, so the build
|
||||
# keeps to the standard library and pyyaml.
|
||||
MAINTENANCE_TOOLS = {
|
||||
"fetch_site_images.py": "PIL",
|
||||
"make_og_cards.py": "playwright",
|
||||
"make_site_icons.py": "playwright",
|
||||
}
|
||||
|
||||
|
||||
class ScriptsNeedOnlyPyyaml(unittest.TestCase):
|
||||
"""The build scripts need the standard library and pyyaml. jsonschema is
|
||||
validate_schemas.py's alone. CI installs jsonschema with its whole tree
|
||||
@@ -80,6 +90,8 @@ class ScriptsNeedOnlyPyyaml(unittest.TestCase):
|
||||
continue
|
||||
if name == "jsonschema" and path.name == "validate_schemas.py":
|
||||
continue
|
||||
if MAINTENANCE_TOOLS.get(path.name) == name:
|
||||
continue
|
||||
found.append(f"{path.relative_to(scripts)}: {name}")
|
||||
self.assertEqual(found, [])
|
||||
|
||||
|
||||
Reference in new issue
Block a user