Skip to content

Update Github action script to try Nexus 6 profile #55

Update Github action script to try Nexus 6 profile

Update Github action script to try Nexus 6 profile #55

Workflow file for this run

name: Android CI
on:
push:
branches: [ "master", "v*" ]
pull_request:
branches: [ "master" ]
env:
TARGET_SDK_VERSION: 33
BUILD_TOOLS_VERSION: 33.0.2
defaults:
run:
working-directory: ./studio-android/LightNovelLibrary
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Set up Android emulator, build, test and Coveralls
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 30
arch: x86_64
profile: Nexus 6
working-directory: ./studio-android/LightNovelLibrary
script: ./gradlew assembleAlpha connectedAlphaDebugAndroidTest coveralls