Skip to content

Merge branch 'origin/master' into Weblate. #394

Merge branch 'origin/master' into Weblate.

Merge branch 'origin/master' into Weblate. #394

Workflow file for this run

name: App testing
on:
push:
branches:
- '**'
jobs:
test:
name: Run Unit Tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: set up Java 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Unit tests
run: bash ./gradlew testDebugUnitTest --stacktrace
- name: Lint code
run: bash ./gradlew lint --stacktrace
apk:
name: Generate APK
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: set up Java 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build debug APK
run: bash ./gradlew assembleDebug --stacktrace
- name: Build release APK
run: bash ./gradlew assembleRelease --stacktrace
- name: Upload debug APK
uses: actions/upload-artifact@v1
with:
name: debug
path: app/build/outputs/apk/debug/app-debug.apk
- name: Upload release APK
uses: actions/upload-artifact@v1
with:
name: release
path: app/build/outputs/apk/release/app-release-unsigned.apk