Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

ci: 向浏览器验证和汇总任务提供全量矩阵状态

longmeidao5bbbbdba53d6
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index a62cca7c9..7534ef954 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -26,6 +26,7 @@ jobs:
outputs:
matrix: ${{ steps.plan.outputs.matrix }}
wheel_matrix: ${{ steps.plan.outputs.wheel_matrix }}
+ wide: ${{ steps.plan.outputs.wide }}
steps:
- uses: actions/checkout@v7
with:
diff --git a/tests/test_frontend_build.py b/tests/test_frontend_build.py
index a48c74cdb..aba459511 100644
--- a/tests/test_frontend_build.py
+++ b/tests/test_frontend_build.py
@@ -835,8 +835,8 @@ class BrowserSuiteWorkflowTests(unittest.TestCase):
verified = self.job("verified")
self.assertIn("WIDE: ${{ needs.plan.outputs.wide }}", verified)
self.assertIn('name == "web-e2e" and wide and job["result"] == "skipped"', verified)
- self.assertIn('"wide"', (ROOT / "scripts" / "ci_plan.py").read_text(encoding="utf-8"),
- "ci_plan.py 没把 wide 写进 GITHUB_OUTPUT")
+ self.assertIn('wide: ${{ steps.plan.outputs.wide }}', self.job("plan"),
+ "plan job 没有向后续任务提供全量矩阵状态")
def test_matrix_rows_beyond_core_install_what_the_node_suites_need(self):
job = self.job("python")