-
-
Notifications
You must be signed in to change notification settings - Fork 186
ci: use brightdigit/swift-build action #789
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
Draft
grdsdev
wants to merge
29
commits into
main
Choose a base branch
from
ci-refactor
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
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
444d4de
to
5b77e73
Compare
- Add ./.build directory to coverage search paths - Add Xcode DerivedData paths for better coverage file discovery - Improve coverage collection reliability across different build environments
- Add specific GitHub Actions runner DerivedData path - Remove generic DERIVED_DATA_PATH variable - Improve coverage file discovery in CI environment
- Comment out platform-specific build matrices (iOS, watchOS, tvOS, visionOS) - Change coverage files separator from comma to space in Coveralls action - Streamline CI workflow for faster execution
- Uncomment iOS build matrix with iPhone 17 Pro - Uncomment watchOS build matrix with Apple Watch Ultra 3 - Uncomment tvOS build matrix with Apple TV - Uncomment visionOS build matrix with Apple Vision Pro - Restore comprehensive cross-platform testing
- Switch to grdsdev/swift-coverage-action with specific commit hash - Add ignore filename regex to exclude tests, build artifacts, and deprecated code - Add commented Linux build matrix for Ubuntu with Swift 6.0/6.1 - Improve coverage accuracy by filtering irrelevant files
- Add /Users/ to ignore-filename-regex to exclude user directory files - Prevent coverage reports from including irrelevant user-specific files - Improve coverage accuracy and reduce noise in reports
Add #if !os(watchOS) compiler directives to all test files that use the Mocker library for network request mocking. This prevents these tests from running on watchOS where network mocking may not be supported or necessary. Affected test files: - AuthClientTests.swift - FunctionsClientTests.swift - PostgresQueryTests.swift - PostgrestBuilderTests.swift - PostgrestFilterBuilderTests.swift - PostgrestQueryBuilderTests.swift - PostgrestRpcBuilderTests.swift - PostgrestTransformBuilderTests.swift - StorageBucketAPITests.swift - StorageFileAPITests.swift 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Add tearDown methods with Mocker.removeAll() to properly clean up mocks after each test to prevent test interference: - StorageFileAPITests.swift: Added tearDown method - FunctionsClientTests.swift: Added tearDown method - PostgresQueryTests.swift: Added tearDown method (base class) The PostgresQueryTests base class tearDown method ensures that all inheriting test classes (PostgrestRpcBuilderTests, PostgrestQueryBuilderTests, PostgrestBuilderTests, PostgrestTransformBuilderTests, PostgrestFilterBuilderTests) automatically clean up mocks without needing individual tearDown methods. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Remove output formatting from metadata encoder in debug builds to ensure consistent encoding behavior and prevent potential issues with formatted JSON in storage operations. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Add continue-on-error: true to both coverage processing and upload steps to ensure that coverage-related failures don't cause the entire CI workflow to fail. This allows builds and tests to be marked as successful even when coverage reporting encounters issues. Coverage steps that now continue on error: - Process coverage (grdsdev/swift-coverage-action) - Upload Coverage (coverallsapp/github-action) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Move HTTPResponse extensions and MockData enum from AuthClientTests.swift to MockHelpers.swift to improve code organization and reusability. This separation allows mock utilities to be shared across multiple test files while keeping the main test file focused on test cases. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Re-enable the Linux build matrix with Swift 6.0 and 6.1 on Ubuntu Noble and Jammy. Added continue-on-error: true to coverage steps to ensure coverage failures don't fail the build workflow. Linux build matrix includes: - Swift 6.0 on Ubuntu Noble/Jammy - Swift 6.1 on Ubuntu Noble/Jammy - Coverage processing and upload with error handling 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Simplify the Linux build configuration: - Use default Ubuntu image in Swift containers (swift:{version}) - Remove OS matrix (noble, jammy) to reduce build complexity - Add Swift 6.2 support to the version matrix Linux builds now test Swift 6.0, 6.1, and 6.2 on the default Ubuntu image provided by the Swift Docker containers. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
0446b2c
to
492d3b5
Compare
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Add conditional FoundationNetworking imports to all files that use networking APIs to ensure compatibility with Linux builds. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Add iOS build configuration for Examples, SlackClone, and UserManagement schemes with Xcode 26.0 and iPhone 17 Pro targeting. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
ecad53b
to
f1df8f0
Compare
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.
What kind of change does this PR introduce?
Bug fix, feature, docs update, ...
What is the current behavior?
Please link any relevant issues here.
What is the new behavior?
Feel free to include screenshots if it includes visual changes.
Additional context
Add any other context or screenshots.