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

Automate Android tests #690

Open
smeyer198 opened this issue Aug 9, 2024 · 2 comments
Open

Automate Android tests #690

smeyer198 opened this issue Aug 9, 2024 · 2 comments
Assignees
Labels

Comments

@smeyer198
Copy link
Contributor

#689 added (old) tests for the HeadlessAndroidScanner. Running them requires an Android SDK. However, since they are licensed and rather large, they cannot be uploaded to the GitHub remote directly, that is, they have to be added to the local platforms directory manually.

Task: Research whether it is possible to run the Android tests in an action on GitHub. More precisely, is it possible to fetch an Android SDK and run the tests with it. If possible, implement a corresponding action.

@smeyer198 smeyer198 added the CI label Aug 9, 2024
@svenfeld
Copy link
Contributor

This action facilitates the setup of the sdkmanager which is required for Android CI pipelines https://github.com/android-actions/setup-android. The sdkmanager is also used to accept the required licenses for headless applications.

See the following links for more information.

https://developer.android.com/studio/projects/continuous-integration

https://developer.android.com/tools/sdkmanager

@svenfeld
Copy link
Contributor

PR #735 adds the necessary functionality to run the Android tests in a Github Action. However, the tests are failing for unknown reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants