Skip to content

Merge pull request #154 from weblate/weblate-flashy-metadata #234

Merge pull request #154 from weblate/weblate-flashy-metadata

Merge pull request #154 from weblate/weblate-flashy-metadata #234

Workflow file for this run

name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "📥 Check-out"
uses: actions/checkout@v2
- name: "🧪 Gradle Wrapper Validation"
uses: gradle/wrapper-validation-action@v1
- name: "🧰 Install JDK"
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
java-package: jdk
- name: "🧰 Install Android SDK"
uses: malinskiy/action-android/install-sdk@release/0.1.4
with:
acceptLicense: yes
- name: "🏗 Build"
run: ./gradlew assembleDebug
- name: "🧪 Code coverage"
run: ./gradlew jacocoTestReport
- name: "📤 Upload code coverage"
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
yml: .codecov.yml
- name: "🧪 Android LINT"
run: ./gradlew lint
- name: "🧪 Unit test"
run: ./gradlew test