Skip to content

Commit d91f8ec

Browse files
authored
Merge pull request #418 from 1lck/fix/run-test-tauri-boundary
fix(windows): keep run test within tauri boundary
2 parents 72222d4 + b011f46 commit d91f8ec

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/ci-windows.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,10 @@ jobs:
252252
run: ./.agents/skills/write-stable-tests/scripts/test-stability-windows.ps1 -Scope WindowsRust -SuiteTimeoutSeconds 1080
253253

254254
- name: Generate combined Windows test report
255-
if: always()
255+
if: >-
256+
always() &&
257+
(needs.changes.outputs.rust_core == 'true' ||
258+
needs.changes.outputs.windows_rust == 'true')
256259
shell: pwsh
257260
run: node .agents/skills/write-stable-tests/scripts/generate-test-report.mjs
258261

windows/tauri/src/features/run/api/run-host-api.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
import { Channel } from "@tauri-apps/api/core";
21
import { beforeEach, describe, expect, mock, test } from "bun:test";
32

43
const invoke = mock(async () => undefined);
54

65
mock.module("@/platform/tauri-core", () => ({
76
invoke,
8-
Channel,
7+
Channel: class {},
98
convertFileSrc: (path: string) => path,
109
}));
1110
mock.module("../utils/run-window-context", () => ({

0 commit comments

Comments
 (0)