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

[CI] Sync tests with Device farm #1605

Merged
merged 69 commits into from
Jan 10, 2024

Conversation

nhachicha
Copy link
Collaborator

@nhachicha nhachicha commented Dec 13, 2023

This uses BAAS CLI to run sync tests for Android (via Device Farm) JVM, macOS and iOS

  • TODO: Replaying device farm sync test needs to start a new BAAS instance inorder to use the new IP adress
image

@nhachicha nhachicha marked this pull request as ready for review December 23, 2023 00:01
Copy link
Contributor

@cmelchior cmelchior left a comment

Choose a reason for hiding this comment

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

Nice... Just restarted the build to make sure it still passes.

The only comment I have is that this seems to duplicate a lot of code that would be nice to have centralized. But if it is too difficult to combine them, we can also leave that as a future task.

@@ -0,0 +1,72 @@
name: 'Run Android tests on Device Farm'
Copy link
Contributor

Choose a reason for hiding this comment

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

Unless I am missing it, the only difference between this action and run-android-device-farm-test seems to be the package name: io.realm.sync.testapp.test vs. io.realm.testapp.test. Isn't there a way we can combine them?

I guess app_auxiliary_files is also a difference, but couldn't we just make that optional?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Updated with common action used for sync and non-sync device farm tests

.github/workflows/pr.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@cmelchior cmelchior left a comment

Choose a reason for hiding this comment

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

Looking good. We can fix the other tests on the main sync branch

@cmelchior cmelchior merged commit c2e0810 into feature/github-actions Jan 10, 2024
34 of 41 checks passed
@cmelchior cmelchior deleted the nh/sync_test_device_farm branch January 10, 2024 14:37
@cmelchior
Copy link
Contributor

Merging this to unblock merges coming from the other direction

cmelchior pushed a commit that referenced this pull request Jan 10, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants