mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 19:00:43 +00:00
ci: narrow windows check scope
This commit is contained in:
@@ -59,7 +59,7 @@ describe("detectChangedScope", () => {
|
||||
runNode: true,
|
||||
runMacos: false,
|
||||
runAndroid: false,
|
||||
runWindows: true,
|
||||
runWindows: false,
|
||||
runSkillsPython: false,
|
||||
runChangedSmoke: false,
|
||||
runControlUiI18n: false,
|
||||
@@ -175,14 +175,14 @@ describe("detectChangedScope", () => {
|
||||
runNode: true,
|
||||
runMacos: false,
|
||||
runAndroid: false,
|
||||
runWindows: false,
|
||||
runWindows: true,
|
||||
runSkillsPython: false,
|
||||
runChangedSmoke: false,
|
||||
runControlUiI18n: false,
|
||||
});
|
||||
});
|
||||
|
||||
it("does not run Windows for test-only changes", () => {
|
||||
it("runs Windows only for Windows-relevant changes", () => {
|
||||
expect(detectChangedScope(["extensions/memory-lancedb/index.test.ts"])).toEqual({
|
||||
runNode: true,
|
||||
runMacos: false,
|
||||
@@ -192,7 +192,7 @@ describe("detectChangedScope", () => {
|
||||
runChangedSmoke: false,
|
||||
runControlUiI18n: false,
|
||||
});
|
||||
expect(detectChangedScope(["test/helpers/windows-paths.test-utils.ts"])).toEqual({
|
||||
expect(detectChangedScope(["src/auto-reply/reply/streaming-directives.ts"])).toEqual({
|
||||
runNode: true,
|
||||
runMacos: false,
|
||||
runAndroid: false,
|
||||
@@ -201,6 +201,33 @@ describe("detectChangedScope", () => {
|
||||
runChangedSmoke: false,
|
||||
runControlUiI18n: false,
|
||||
});
|
||||
expect(detectChangedScope(["src/process/exec.ts"])).toEqual({
|
||||
runNode: true,
|
||||
runMacos: false,
|
||||
runAndroid: false,
|
||||
runWindows: true,
|
||||
runSkillsPython: false,
|
||||
runChangedSmoke: false,
|
||||
runControlUiI18n: false,
|
||||
});
|
||||
expect(detectChangedScope(["src/process/exec.windows.test.ts"])).toEqual({
|
||||
runNode: true,
|
||||
runMacos: false,
|
||||
runAndroid: false,
|
||||
runWindows: true,
|
||||
runSkillsPython: false,
|
||||
runChangedSmoke: false,
|
||||
runControlUiI18n: false,
|
||||
});
|
||||
expect(detectChangedScope(["scripts/npm-runner.mjs"])).toEqual({
|
||||
runNode: true,
|
||||
runMacos: false,
|
||||
runAndroid: false,
|
||||
runWindows: true,
|
||||
runSkillsPython: false,
|
||||
runChangedSmoke: false,
|
||||
runControlUiI18n: false,
|
||||
});
|
||||
});
|
||||
|
||||
it("runs changed-smoke for install and packaging surfaces", () => {
|
||||
@@ -208,7 +235,7 @@ describe("detectChangedScope", () => {
|
||||
runNode: true,
|
||||
runMacos: false,
|
||||
runAndroid: false,
|
||||
runWindows: true,
|
||||
runWindows: false,
|
||||
runSkillsPython: false,
|
||||
runChangedSmoke: true,
|
||||
runControlUiI18n: false,
|
||||
@@ -217,7 +244,7 @@ describe("detectChangedScope", () => {
|
||||
runNode: true,
|
||||
runMacos: false,
|
||||
runAndroid: false,
|
||||
runWindows: true,
|
||||
runWindows: false,
|
||||
runSkillsPython: false,
|
||||
runChangedSmoke: true,
|
||||
runControlUiI18n: false,
|
||||
@@ -235,7 +262,7 @@ describe("detectChangedScope", () => {
|
||||
runNode: true,
|
||||
runMacos: false,
|
||||
runAndroid: false,
|
||||
runWindows: true,
|
||||
runWindows: false,
|
||||
runSkillsPython: false,
|
||||
runChangedSmoke: true,
|
||||
runControlUiI18n: false,
|
||||
@@ -244,7 +271,7 @@ describe("detectChangedScope", () => {
|
||||
runNode: true,
|
||||
runMacos: false,
|
||||
runAndroid: false,
|
||||
runWindows: true,
|
||||
runWindows: false,
|
||||
runSkillsPython: false,
|
||||
runChangedSmoke: true,
|
||||
runControlUiI18n: false,
|
||||
@@ -253,7 +280,7 @@ describe("detectChangedScope", () => {
|
||||
runNode: true,
|
||||
runMacos: false,
|
||||
runAndroid: false,
|
||||
runWindows: true,
|
||||
runWindows: false,
|
||||
runSkillsPython: false,
|
||||
runChangedSmoke: true,
|
||||
runControlUiI18n: false,
|
||||
@@ -262,7 +289,7 @@ describe("detectChangedScope", () => {
|
||||
runNode: true,
|
||||
runMacos: false,
|
||||
runAndroid: false,
|
||||
runWindows: true,
|
||||
runWindows: false,
|
||||
runSkillsPython: false,
|
||||
runChangedSmoke: true,
|
||||
runControlUiI18n: false,
|
||||
@@ -274,7 +301,7 @@ describe("detectChangedScope", () => {
|
||||
runNode: true,
|
||||
runMacos: false,
|
||||
runAndroid: false,
|
||||
runWindows: true,
|
||||
runWindows: false,
|
||||
runSkillsPython: false,
|
||||
runChangedSmoke: false,
|
||||
runControlUiI18n: true,
|
||||
@@ -284,7 +311,7 @@ describe("detectChangedScope", () => {
|
||||
runNode: true,
|
||||
runMacos: false,
|
||||
runAndroid: false,
|
||||
runWindows: true,
|
||||
runWindows: false,
|
||||
runSkillsPython: false,
|
||||
runChangedSmoke: false,
|
||||
runControlUiI18n: true,
|
||||
|
||||
Reference in New Issue
Block a user