test: Add E2E test workflow for all binary platforms#9
Closed
GhostTypes wants to merge 9 commits intomainfrom
Closed
test: Add E2E test workflow for all binary platforms#9GhostTypes wants to merge 9 commits intomainfrom
GhostTypes wants to merge 9 commits intomainfrom
Conversation
Add automated E2E testing for Windows, macOS, and Linux builds (x64, ARM64, ARMv7). The workflow validates binary builds, startup, API endpoints, and graceful shutdown across all platforms.
Update workflow triggers to run on all branches and PRs, not just main.
The auth status endpoint returns authRequired, not authenticated. Update test to validate JSON structure instead.
- Skip execution tests for ARMv7 (cannot run on x64 runner) - Fix macOS stat command format (-f%z not -f%) - Fix Windows Start-Process parameters - Fix API test to validate JSON structure properly - Add can_execute matrix flag for cross-compiled binaries
- Use cmd.exe for background process start with proper redirection - Force bash shell for summary generation (PowerShell incompatible)
Skip log file validation on Windows (Git Bash doesn't handle background process I/O redirection reliably). Instead: - Use start /b to launch process - Verify process is running via tasklist - Kill process via taskkill - API tests provide actual validation Linux/macOS continue with full log validation.
Git Bash cannot properly execute 'start /b' command. Use PowerShell Start-Process with -WindowStyle Hidden instead, which properly detaches the process and returns immediately.
Remove problematic tasklist checks on Windows. API tests provide sufficient validation - if they pass, the binary started successfully. Can improve Windows checks later.
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds automated E2E testing for all 6 binary platforms (Windows x64, macOS x64/ARM64, Linux x64/ARM64/ARMv7). The workflow validates binary builds and basic functionality on every push/PR.
What's Tested
Platform-Specific Notes