ci(integration): add integration test script + server CI steps#27
Merged
kickthemoon0817 merged 2 commits intomainfrom Feb 18, 2026
Merged
ci(integration): add integration test script + server CI steps#27kickthemoon0817 merged 2 commits intomainfrom
kickthemoon0817 merged 2 commits intomainfrom
Conversation
Add scripts/integration-test.sh that orchestrates testing across the full Pedef stack: - --server: builds PedefSync server package and runs its test suite - --app: builds Pedef app and runs xcodebuild test suite - --smoke: starts the server binary on a test port, verifies it listens and stays alive, then tears down cleanly - No args: runs all three stages Features: - Colored output with INFO/OK/FAIL markers - Automatic cleanup via trap (kills server, removes temp data dir) - Port-readiness polling with configurable timeout - Unique test token per run (no secrets committed)
Update .github/workflows/ci.yml to build and test the PedefSync gRPC server package alongside the Pedef app: - Add 'Build PedefSync server' step (swift build in PedefSync/) - Add 'Test PedefSync server' step (swift test in PedefSync/) - Rename existing steps for clarity (Build → Build Pedef app, Test → Test Pedef app) Server steps run before app steps so server regressions are caught early.
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
Add integration testing infrastructure for the full Pedef stack (server + app).
Changes
1.
scripts/integration-test.shNew integration test script that orchestrates testing across both packages:
--server: builds PedefSync server package and runs its unit test suite--app: builds Pedef app and runs xcodebuild test suite--smoke: starts the server binary on a test port, verifies it listens and stays alive, then tears down cleanly2.
.github/workflows/ci.ymlUpdated CI pipeline to include PedefSync server in the build/test matrix:
swift build)swift test)Test Results
All 78 app tests in 24 suites pass.
Checklist