Skip to content

kuring-76 Android 기본 WorkerFactory 대신 커스텀 팩토리를 사용하도록 수정 #171

kuring-76 Android 기본 WorkerFactory 대신 커스텀 팩토리를 사용하도록 수정

kuring-76 Android 기본 WorkerFactory 대신 커스텀 팩토리를 사용하도록 수정 #171

Workflow file for this run

name: Android-develop CI
# Every new pull request to develop branch must fire CI check
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Create google-services
run: |
mkdir ./app/src/debug
echo '${{ secrets.GOOGLE_SERVICES_JSON_DEBUG }}' > ./app/src/debug/google-services.json
- name: Create local.properteis
run: echo '${{ secrets.LOCAL_PROPERTIES }}' > ./local.properties
# Build Debug App
- name: Build with Gradle
run: ./gradlew assembleDebug
# Run unit test
- name: Run unit test
run: ./gradlew testdebugUnitTest