-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fix integration tests. #3294
Fix integration tests. #3294
Conversation
Section { | ||
if self.store.isObservingChildCount { | ||
Text("Child count: \(self.store.child.count)") | ||
WithPerceptionTracking { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know how this was working before without these... or maybe it wasn't?
@@ -40,7 +49,6 @@ class BaseIntegrationTests: XCTestCase { | |||
"\(self.name) emitted an unexpected runtime warning" | |||
) | |||
} | |||
SnapshotTesting.isRecording = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just fixing a deprecation warning.
line: line, | ||
column: column | ||
) | ||
withExpectedIssue(isIntermittent: true) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we will just swallow all errors for assertLogs
for now, but in the future we could just do this on CI only if we want.
* Fix integration tests. * wip * wip
* `@preconcurrency @MainActor` isolation of `Store` * Remove unneeded `@MainActor`s * Remove thread checking code * Remove unneeded `@MainActor`s * Swift 5.10 compatibility fixes * wip * More 5.10 fixes * wip * fixes * wip * wip * up the timeout * wip * Fixes * Remove mainActorASAP in favor of mainActorNow. (#3288) * wip * Run swift-format * Update README.md * Fix integration tests. (#3294) * Fix integration tests. * wip * wip * Run swift-format * mainActorNow doesnt need escaping closure * wip * migration guide * wip * Update MigratingTo1.14.md --------- Co-authored-by: Brandon Williams <mbrandonw@hey.com> Co-authored-by: Brandon Williams <135203+mbrandonw@users.noreply.github.com> Co-authored-by: mbrandonw <mbrandonw@users.noreply.github.com>
…ure to from: "1.13.1" (#1210) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [pointfreeco/swift-composable-architecture](https://togithub.com/pointfreeco/swift-composable-architecture) | minor | `from: "1.12.1"` -> `from: "1.13.1"` | --- ### Release Notes <details> <summary>pointfreeco/swift-composable-architecture (pointfreeco/swift-composable-architecture)</summary> ### [`v1.13.1`](https://togithub.com/pointfreeco/swift-composable-architecture/releases/tag/1.13.1) [Compare Source](https://togithub.com/pointfreeco/swift-composable-architecture/compare/1.13.0...1.13.1) #### What's Changed - Fixed: Address regression in which `observe` was limited to platforms that can import UIKit by bringing back an AppKit-compatible version ([https://github.com/pointfreeco/swift-composable-architecture/pull/3295](https://togithub.com/pointfreeco/swift-composable-architecture/pull/3295)). - Infrastructure: Integration test fixes ([https://github.com/pointfreeco/swift-composable-architecture/pull/3294](https://togithub.com/pointfreeco/swift-composable-architecture/pull/3294)). **Full Changelog**: pointfreeco/swift-composable-architecture@1.13.0...1.13.1 ### [`v1.13.0`](https://togithub.com/pointfreeco/swift-composable-architecture/releases/tag/1.13.0) [Compare Source](https://togithub.com/pointfreeco/swift-composable-architecture/compare/1.12.1...1.13.0) #### What's Changed - Added: UIKit navigation and binding tools ([https://github.com/pointfreeco/swift-composable-architecture/pull/3180](https://togithub.com/pointfreeco/swift-composable-architecture/pull/3180)). - Fixed: Update `Shared` to invoke `reportIssue` ([https://github.com/pointfreeco/swift-composable-architecture/pull/3258](https://togithub.com/pointfreeco/swift-composable-architecture/pull/3258)). - Fixed: Address a few compiler warnings ([https://github.com/pointfreeco/swift-composable-architecture/pull/3279](https://togithub.com/pointfreeco/swift-composable-architecture/pull/3279)). - Fixed: Avoid crash when writing to shared user defaults on a background thread (thanks [@​larryonoff](https://togithub.com/larryonoff), [https://github.com/pointfreeco/swift-composable-architecture/pull/3285](https://togithub.com/pointfreeco/swift-composable-architecture/pull/3285)). - Infrastructure: Typo fixes (thanks [@​hmhv](https://togithub.com/hmhv), [https://github.com/pointfreeco/swift-composable-architecture/pull/3267](https://togithub.com/pointfreeco/swift-composable-architecture/pull/3267); [@​mltbnz](https://togithub.com/mltbnz), [https://github.com/pointfreeco/swift-composable-architecture/pull/3268](https://togithub.com/pointfreeco/swift-composable-architecture/pull/3268)). - Infrastructure: Update swiftlang repository link (thanks [@​lamtrinhdev](https://togithub.com/lamtrinhdev), [https://github.com/pointfreeco/swift-composable-architecture/pull/3270](https://togithub.com/pointfreeco/swift-composable-architecture/pull/3270)). - Infrastructure: Updated a bunch of DocC references ([https://github.com/pointfreeco/swift-composable-architecture/pull/3287](https://togithub.com/pointfreeco/swift-composable-architecture/pull/3287)). #### New Contributors - [@​mltbnz](https://togithub.com/mltbnz) made their first contribution in [https://github.com/pointfreeco/swift-composable-architecture/pull/3268](https://togithub.com/pointfreeco/swift-composable-architecture/pull/3268) - [@​lamtrinhdev](https://togithub.com/lamtrinhdev) made their first contribution in [https://github.com/pointfreeco/swift-composable-architecture/pull/3270](https://togithub.com/pointfreeco/swift-composable-architecture/pull/3270) **Full Changelog**: pointfreeco/swift-composable-architecture@1.12.1...1.13.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41NS4wIiwidXBkYXRlZEluVmVyIjoiMzguNTUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: cgrindel-self-hosted-renovate[bot] <139595543+cgrindel-self-hosted-renovate[bot]@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This gets the Integrate test suite compiling and passing again. Maybe someday soon we can add it back to CI.