mirror of
https://mirror.skon.top/github.com/code-yeongyu/oh-my-opencode
synced 2026-04-21 07:50:31 +08:00
ci: run pure bun test in workflows
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -9,14 +9,13 @@ const workflowPaths = [
|
||||
]
|
||||
|
||||
describe("test workflows", () => {
|
||||
test("use bun test isolation for workflows", () => {
|
||||
test("use pure bun test for workflows", () => {
|
||||
for (const workflowPath of workflowPaths) {
|
||||
// #given
|
||||
const workflow = readFileSync(workflowPath, "utf8")
|
||||
|
||||
// #then - should use run-ci-tests.ts for mock isolation
|
||||
expect(workflow).toContain("- name: Run tests")
|
||||
expect(workflow).toContain("run-ci-tests.ts")
|
||||
expect(workflow).toContain("run: bun test")
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user