Skip to content

Fix value in unit test #103

Fix value in unit test

Fix value in unit test #103

Workflow file for this run

name: Android CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Create local.properties
run: |
echo "CLARITY_PROJECT_ID=${{secrets.CLARITY_PROJECT_ID}}" >> //home//runner//work//Base//Base//local.properties
shell: bash
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Run Detekt
run: ./gradlew detekt
- name: Run Unit Tests
run: ./gradlew testDebugUnitTest