-
Notifications
You must be signed in to change notification settings - Fork 124
CI enable integration test on Android Emulator #376
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
Conversation
…/firebase/firebase-cpp-sdk into feature/test-on-android-emulator
In terms of 1) device flag names 2) summarize_test_results script. I'm gonna resolve them in a separate PR. |
...ing/gameloop_android/app/src/androidTest/java/com/google/firebase/gameloop/GameLoopUITest.kt
Show resolved
Hide resolved
...tion_testing/gameloop_android/app/src/main/java/com/google/firebase/gameloop/MainActivity.kt
Outdated
Show resolved
Hide resolved
❌ Integration test FAILEDRequested by @jonsimantov on commit 3ac7579
|
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.
LGTM
In the workflow, enable test on android emulator in MacOS.
(Linux is disabled, because GitHub Linux Machine doesn't support hardware acceleration.)
Script that running game-loop test on emulator:
scripts/gha/test_simulator.py
A UI Test App that enable game-loop test:
scripts/gha/integration_testing/gameloop_android
Logic is in
.kt
files. And most of the.xml
files are auto-generated res files.To run the script locally (MacOS & Linux):
scripts/gha/test_simulator.py --testapp_dir testapp_dir
Prerequisite:
Workflow passed (admob,analytics):
https://github.com/firebase/firebase-cpp-sdk/runs/2402251148?check_suite_focus=true
firestore failed. Update: fixed by change timeout.