Commit graph

19 commits

Author SHA1 Message Date
Peter Steinberger
b22d8995dd
Add comprehensive server tests and switch to Biome linter (#73) 2025-06-24 18:51:38 +02:00
Peter Steinberger
a49ecbc1a7 fix: Fix CI issues - iOS build/test and TypeScript linting
- Fix iOS CI to use correct workspace and scheme names
- Update iOS test script to use workspace instead of project
- Fix all TypeScript 'any' type warnings by adding proper types
- Update build destination format for Xcode 16 compatibility
2025-06-22 17:09:59 +02:00
Peter Steinberger
32436df59e Update CI and build scripts for project rename 2025-06-22 15:11:56 +02:00
Peter Steinberger
fda31b1ed8 debug: Add more debugging to CI build steps 2025-06-22 15:07:12 +02:00
Peter Steinberger
4ecb9ebb8c fix: Add -project flag to xcodebuild commands in CI 2025-06-22 15:02:46 +02:00
Peter Steinberger
7d447cf542 fix: Use project files directly in CI instead of workspace 2025-06-22 15:00:18 +02:00
Peter Steinberger
323e1944ac fix: Resolve dependencies at project level first in CI 2025-06-22 14:57:51 +02:00
Peter Steinberger
eb0f9f4d77 fix: Use correct iOS destination in CI workflows 2025-06-22 14:54:51 +02:00
Peter Steinberger
9329952e8e debug: Add workspace debugging steps to CI workflows 2025-06-22 14:52:04 +02:00
Peter Steinberger
9ddb61576d fix: Update CI workflows to use global Apple workspace
- Update mac.yml to use global VibeTunnel.xcworkspace instead of mac/VibeTunnel.xcworkspace
- Update ios.yml to use global VibeTunnel.xcworkspace with VibeTunnel-iOS scheme
- Fix Node.js workflow to use standard GitHub Actions runners (ubuntu-latest) and actions/setup-node@v4
- Use xcodebuild test instead of swift test for proper workspace testing support
- Remove unnecessary cd commands since workspace is at root level

This fixes CI failures after the global Apple workspace was introduced.
2025-06-22 14:33:13 +02:00
Peter Steinberger
75e09c4551 Use run-tests.sh for iOS CI testing
- Switch to using run-tests.sh script which properly handles Swift Testing
- The Xcode scheme is not configured for test action, so use SPM approach
- Remove xcresult upload as run-tests.sh doesn't produce them
2025-06-22 08:59:03 +02:00
Peter Steinberger
f05ca0fde0 Fix iOS CI and enable test execution
- Fix test file paths in Xcode project (remove doubled VibeTunnelTests prefix)
- Fix TestFixtures to match ServerConfig initializer signature
- Re-enable iOS test execution in CI workflow
- Add proper test results artifact upload
2025-06-22 08:51:18 +02:00
Peter Steinberger
3864212239 fix: Temporarily disable iOS test execution in CI
- iOS test infrastructure needs adjustments for CI environment
- For now, verify tests can be built successfully
- Mac CI is fully working with Swift Testing
2025-06-22 08:39:01 +02:00
Peter Steinberger
e33a6f9841 fix: Use run-tests.sh in iOS CI for Swift Testing support
- Replace xcodebuild test with run-tests.sh script
- The script properly handles Swift Testing framework
- Remove xcresult bundle upload as it's not produced by the script
2025-06-22 08:33:39 +02:00
Peter Steinberger
f9131e9cef fix: comprehensive iOS CI improvements
- Add timeouts to prevent hanging builds (30 minutes)
- Install xcpretty for better build output formatting
- Fix test execution to use xcodebuild instead of swift test
- Add proper error handling and diagnostics for build failures
- Upload test results as artifacts for debugging
- Remove duplicate test configuration from Package.swift
- Add dependency resolution step before tests
- Improve simulator detection and handling
2025-06-22 08:12:51 +02:00
Peter Steinberger
31ea2776fe ci: update iOS workflow to run tests on simulator using xcodebuild
- Replace 'swift test' with 'xcodebuild test' to run on iOS simulator
- Tests now properly execute on iOS 18.0 simulator (iPhone 16 Pro)
- Add retry logic with verbose output if tests fail
2025-06-22 07:58:02 +02:00
Peter Steinberger
a5b0354139 Burn everything with fire that is not node or swift. 2025-06-21 14:39:44 +02:00
Peter Steinberger
31d9e3e839 comment iOS + CI 2025-06-20 12:32:59 +02:00
Peter Steinberger
72d4bfda5c Add iOS CI, fix Swift CI 2025-06-20 11:33:03 +02:00