-
Notifications
You must be signed in to change notification settings - Fork 7
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
chore: test android workflow #619
Conversation
Signed-off-by: Mark Phelps <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #619 +/- ##
=======================================
Coverage 85.60% 85.60%
=======================================
Files 7 7
Lines 3910 3910
=======================================
Hits 3347 3347
Misses 563 563 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Roman Dmytrenko <[email protected]>
Signed-off-by: Roman Dmytrenko <[email protected]>
fd7c09a
to
bc2b4f6
Compare
Signed-off-by: Roman Dmytrenko <[email protected]>
fec95b6
to
e072cf5
Compare
Signed-off-by: Roman Dmytrenko <[email protected]>
flipt-client-kotlin-android/src/androidTest/java/io/flipt/client/TestFliptEvaluationClient.kt
Show resolved
Hide resolved
Just can't crack it.... I tried to add the |
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
Dang I tried something similar before I saw your comment.. I just dont get why it wouldnt work in actions. Maybe we could try specifying the DNS server (https://developer.android.com/studio/run/emulator-networking#dns) although seems that might not help since we're trying to connect to a local IP |
Signed-off-by: Mark Phelps <[email protected]>
@markphelps I tried the random sample for okhttp test and run it along side |
Thank you for digging in @erka ! I will take a look at this today and try to determine why the engine isn't getting the correct options. |
@markphelps there is an issue with |
legend. thank you for finding this! should be easy to fix |
…-client-sdks into android-sdk-tests * 'android-sdk-tests' of https://github.com/flipt-io/flipt-client-sdks: build(deps-dev): bump rollup in /flipt-client-browser (#636) build(deps-dev): bump undici in /flipt-client-browser (#634) build(deps-dev): bump typescript in /flipt-client-browser (#635) build(deps): bump com.diffplug.spotless in /flipt-client-java (#633) build(deps-dev): bump @typescript-eslint/eslint-plugin (#632) build(deps-dev): bump @typescript-eslint/parser in /flipt-client-react (#629) build(deps): bump pydantic from 2.10.4 to 2.10.5 in /flipt-client-python (#627) build(deps): bump actions/setup-java from 3 to 4 (#626)
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Roman Dmytrenko <[email protected]>
@markphelps It looks like we crack it... There is few things which should be probably addressed. Flipt instance has not auth right now, right? Another - this awkward not to see the Android action in PR itself... |
Thank you @erka for all the hard work on this!!
So yeah we could/should probably configure Flipt with auth here. I will do that. As for the PR / action, once this is merged it should actually run as part of the PR process since the Package FFI Engine runs on PR and then calls the Test Android SDK workflow once complete. Once this is merged we can make it a required check |
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
@erka this should now download the pre-built android libs from the
package-ffi
workflow and (hopefully) move them to the correct location in theflipt-client-android-kotlin
directory.Now all that should be left is to get the emulator to start 🤞🏻