mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-17 08:11:43 +00:00
ci: pass frozen UI test options to Vitest (#104758)
This commit is contained in:
committed by
GitHub
parent
266d49cddb
commit
08498f9828
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -1052,7 +1052,7 @@ jobs:
|
||||
if [[ "$COMPATIBILITY_TARGET" == "true" ]]; then
|
||||
# Frozen targets can contain timing-sensitive tests fixed on current main.
|
||||
# Preserve one retry, but let their browser helpers use their 10-second waits.
|
||||
pnpm --dir ui test -- --retry=1 --testTimeout=10000
|
||||
pnpm --dir ui test --retry=1 --testTimeout=10000
|
||||
else
|
||||
pnpm --dir ui test
|
||||
fi
|
||||
|
||||
@@ -1875,7 +1875,8 @@ describe("ci workflow guards", () => {
|
||||
"${{ needs.preflight.outputs.compatibility_target }}",
|
||||
);
|
||||
expect(uiTest.run).toContain('if [[ "$COMPATIBILITY_TARGET" == "true" ]]');
|
||||
expect(uiTest.run).toContain("pnpm --dir ui test -- --retry=1 --testTimeout=10000");
|
||||
expect(uiTest.run).toContain("pnpm --dir ui test --retry=1 --testTimeout=10000");
|
||||
expect(uiTest.run).not.toContain("pnpm --dir ui test -- --retry");
|
||||
expect(uiTest.run).toContain("pnpm --dir ui test");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user