-
Notifications
You must be signed in to change notification settings - Fork 230
ci: add Tauri desktop testing workflow #914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
ci: add Tauri desktop testing workflow #914
Conversation
Add GitHub Actions workflow to run tests for the Tauri desktop app across Ubuntu, Windows, and macOS platforms. - Uses Node 20 LTS for stability - Runs vitest with existing Tauri API mocks - Job matrix for cross-platform testing Closes CircuitVerse#895
✅ Deploy Preview for circuitverse ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
WalkthroughThe pull request updates CI and package metadata: it replaces the vitest GitHub Actions workflow with a matrix-based job testing two project versions ( Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
ready for review @tachyons @ThatDeparted2061 . |
|
What exactly is being tested here, unit tests are being run another workflow and tauri build is being tested on another workflow. What is being tested here ? |
|
This workflow doesn’t add any new tests or duplicate the Tauri build step. What it changes is where the existing tests run: Why this is useful for Tauri: If you’d prefer this to be added into the existing vitest.yml as a matrix instead of a separate workflow, I’m happy to change that. |
|
Please merge with existing test suit, and make it matrix. Two layers of matrices, one for version and another for OS |
- Add two-layer matrix: version (src, v1) x OS (ubuntu, windows, macos) - Remove separate tauri-tests.yml per maintainer feedback - Use Node 20 LTS for stability - Add Rust toolchain and Linux dependencies for Tauri testing - Use --project flag to run specific workspace version This creates 6 job combinations to ensure cross-platform testing. Closes CircuitVerse#895
|
@tachyons it's done . |
|
can you add a screen shot for the tests, coz the mocking of api shudnt be working for Tauri testing. |


Fixes #895
Summary
Tests pass locally with npm ci and npm test.
Code Understanding and AI Usage
Did you use AI assistance (ChatGPT, Claude, Copilot, etc.) to write any part of this code?
If you used AI assistance:
Explain your implementation approach:
Checklist before requesting a review
Note: Please check Allow edits from maintainers if you would like us to assist in the PR.
Summary by CodeRabbit