Merge pull request #289 from Crazy-Marvin/dependabot/gradle/androidx.… #520
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "📥 Check-out" | |
uses: actions/checkout@v4 | |
# - name: "🧪 Gradle Wrapper Validation" | |
# uses: gradle/wrapper-validation-action@v1 | |
- name: "🧰 Install JDK" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: 8 | |
java-package: jdk | |
- name: "🧰 Setup Android SDK" | |
uses: android-actions/setup-android@v3 | |
- name: "🦸 Make gradlew executable" | |
run: chmod +x ./gradlew | |
- name: "🏗 Build" | |
run: ./gradlew assembleDebug | |
- name: "🧪 Code coverage" | |
run: ./gradlew test | |
- name: "📤 Upload code coverage" | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: "🧪 Android LINT" | |
run: ./gradlew lint | |
- name: "🧪 Unit test" | |
run: ./gradlew test |