Skip to content

Conversation

grdsdev
Copy link
Contributor

@grdsdev grdsdev commented Sep 16, 2025

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.

grdsdev and others added 16 commits September 16, 2025 11:35
- 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]>
grdsdev and others added 8 commits September 17, 2025 13:20
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant