Skip to content

Updated config.yml

Updated config.yml #12

Workflow file for this run

name: UI Tests
on:
push:
branches: [ "master", "development" ]
pull_request:
branches: [ "master", "development" ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '16'
distribution: 'adopt-hotspot'
cache: gradle
- name: write keystore.properties file
env:
KEYSTORE_PROPERTIES: ${{ secrets.KEYSTORE_PROPERTIES }}
run: |
printenv KEYSTORE_PROPERTIES
touch keystore.properties
echo "$KEYSTORE_PROPERTIES" >> keystore.properties
cat keystore.properties
- name: Decode Keystore
env:
ENCODED_KEYSTORE: ${{ secrets.KEYSTORE_BASE64 }}
run: |
echo $ENCODED_KEYSTORE | base64 --decode > shotclockapp.jks
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- name: Verify Emulator version
run: /Users/runner/Library/Android/sdk/emulator/emulator -version
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Run UI Tests
run: ./gradlew nexus5api30DebugAndroidTest -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect" -Pandroid.sdk.channel=3