Skip to content
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

Restore Automated CI Testing #267

Merged
merged 1 commit into from
Feb 28, 2024
Merged

Conversation

zombieobject
Copy link
Contributor

Introduction 📟

This Pull Request is intended to restore automated test functionality for all future Pull Requests as well as approved changes to main

@zombieobject zombieobject added the enhancement New feature or request label Feb 27, 2024
@zombieobject zombieobject self-assigned this Feb 27, 2024
@zombieobject zombieobject requested review from humanagent and a team as code owners February 27, 2024 03:58
@@ -280,7 +290,7 @@ class ClientTests: XCTestCase {
let opts = ClientOptions(api: ClientOptions.Api(env: .local, isSecure: false), preEnableIdentityCallback: preEnableIdentityCallback )
do {
_ = try await Client.create(account: fakeWallet, options: opts)
await XCTWaiter().fulfillment(of: [expectation], timeout: 5)
await XCTWaiter().fulfillment(of: [expectation], timeout: 30)
Copy link
Contributor Author

@zombieobject zombieobject Feb 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The XCTWaiter calls were timing out during GH workflow runs but not locally.

As a practice, I've been trained not to depend on Async tests like these to other services as the results can vary from test to test. I'll monitor these to see how they perform and either reduce the timeout or change the test paradigm altogether using mocks, spies, and doubles.

Just Build Phase for Now

Fix Broken Test

Restore Test Phase

Debug Xcode Select Version

Restore Remaining Workflow

Update libxmtp-swift version to 0.4.2-beta4

Update xmtplib Docker scripts

Update macOS Version

Run against latest Xcode

Colima Debug

Fix broken test

Increased Timeout for Waiters

Cleanup Workflow and Compose

Additional workflow cleanup

Final Workflow Cleanup

Update Workflow Requirement
@zombieobject zombieobject merged commit 5eb30c9 into main Feb 28, 2024
2 checks passed
@zombieobject zombieobject deleted the fixes/restore-testing-workflow branch February 28, 2024 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants