Create introduction page #57
Workflow file for this run
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: Android CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build and check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
cache: gradle | |
- name: Build App | |
run: ./gradlew assembleDebug | |
- name: Run Lint | |
run: ./gradlew ktlintCheck | |
- name: Run Tests | |
run: ./gradlew testDebugUnitTest | |
- name: Generate Coverage Report | |
run: ./gradlew koverXmlReportDebug | |
- name: Upload Coverage Report to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./app/build/reports/kover/reportDebug.xml | |
fail_ci_if_error: true |