vgaidarji / android-github-actions Goto Github PK
View Code? Open in Web Editor NEWA GitHub action to build Android projects and run UI tests
License: Apache License 2.0
A GitHub action to build Android projects and run UI tests
License: Apache License 2.0
Base build & emulator images have a limited number of Android dependencies installed. It would be nice to show the example of how to install additional Android dependencies since different projects require different versions of SDK.
A test project to use https://github.com/vgaidarji/ci-matters/actions.
Hi,
First of all, THANKS A LOT for creating this Github Action.
I'm using it like:
steps:
- uses: actions/checkout@v1
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Gradle
run: ./gradlew build --stacktrace
- name: Run Unit tests
run: ./gradlew testDebugUnitTest
- name: Run UI Tests
uses: "vgaidarji/android-github-actions/[email protected]"
but I'm getting this error:
Waiting for emulator to start
Emulator is ready
Android Emulator started after 184 seconds.
ERROR: JAVA_HOME is set to an invalid directory: /opt/hostedtoolcache/Java/8.0.222/x64
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
##[error]Docker run failed with exit code 1
> Failed to install the following Android SDK packages as some licences have not been accepted.
Hi, what about adding the cache layers option?
I don't know if that helps:
https://github.com/crazy-max/ghaction-docker-buildx#leverage-buildx-cache
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.