Skip to content

Commit 82b3d0c

Browse files
CodeGhost21claude
andcommitted
Fix test.yml: build + stage sidecar before Tauri shell tests
The Tauri build script validates sidecar resource paths even during cargo test. Build and stage the openhuman binary so Tauri shell tests can run, catching real integration issues early. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2746007 commit 82b3d0c

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,15 @@ jobs:
101101
- name: Test core crate (openhuman)
102102
run: cargo test -p openhuman
103103

104+
- name: Build sidecar core binary
105+
run: cargo build --manifest-path Cargo.toml --release --target x86_64-unknown-linux-gnu --bin openhuman
106+
107+
- name: Stage sidecar for Tauri shell tests
108+
run: |
109+
mkdir -p app/src-tauri/binaries
110+
cp target/x86_64-unknown-linux-gnu/release/openhuman app/src-tauri/binaries/openhuman-x86_64-unknown-linux-gnu
111+
chmod +x app/src-tauri/binaries/openhuman-x86_64-unknown-linux-gnu
112+
104113
- name: Test Tauri shell (OpenHuman)
105114
run: cargo test --manifest-path app/src-tauri/Cargo.toml
106115

0 commit comments

Comments
 (0)