Download src/scripts/ci-changed-scope.contract-fixtures.test.ts from SaylorTwift/openclaw: direct link, hf CLI and curl.
- Browser
- Download file 1.49 kB
-
https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/scripts/ci-changed-scope.contract-fixtures.test.ts
- Command line
-
hf download hf://SaylorTwift/openclaw/src/scripts/ci-changed-scope.contract-fixtures.test.ts
-
curl -L -o ci-changed-scope.contract-fixtures.test.ts https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/scripts/ci-changed-scope.contract-fixtures.test.ts
1.49 kB
| import { describe, expect, it } from "vitest"; | |
| import { detectChangedScope } from "../../scripts/ci-changed-scope.mjs"; | |
| describe("shared Apple contract fixture CI scope", () => { | |
| it.each([ | |
| "test/fixtures/device-identity-coordinator-contract.json", | |
| "test/fixtures/talk-config-contract.json", | |
| ])("runs macOS contract tests for %s", (fixturePath) => { | |
| expect(detectChangedScope([fixturePath])).toEqual({ | |
| runNode: true, | |
| runMacos: true, | |
| runMacosNode: true, | |
| runIosBuild: false, | |
| runAndroid: false, | |
| runWindows: false, | |
| runSkillsPython: false, | |
| runChangedSmoke: false, | |
| runControlUiI18n: false, | |
| runUiTests: false, | |
| }); | |
| }); | |
| it.each([ | |
| "src/agents/github-exec-launcher.ts", | |
| "src/agents/github-exec-credential.ts", | |
| "src/shared/worker-bundle-hash.ts", | |
| "src/worker/workspace-rsync-receiver.ts", | |
| "src/gateway/worker-environments/workspace-sync.ts", | |
| "src/gateway/worker-environments/workspace-sync-helpers.ts", | |
| "src/gateway/worker-environments/workspace-accepted-sync.ts", | |
| "src/gateway/worker-environments/workspace-accepted-remote-script.ts", | |
| "src/gateway/worker-environments/workspace-mutation-remote-script.ts", | |
| "src/gateway/worker-environments/workspace-rsync-path.test.ts", | |
| ])("routes worker deploy artifact owner %s through macOS CI", (ownerPath) => { | |
| expect(detectChangedScope([ownerPath])).toMatchObject({ | |
| runNode: true, | |
| runMacos: true, | |
| }); | |
| }); | |
| }); | |