Update and rename android.yaml to pr-check.yaml (#315)

* Update and rename android.yaml to pr-check.yaml

* Update pr-check.yaml
This commit is contained in:
Yogesh Choudhary Paliyal
2023-01-29 11:10:27 +05:30
committed by GitHub
parent 928a07a9b8
commit 1c76db717e
@@ -1,4 +1,4 @@
name: Android CI
name: PR Check
on:
pull_request:
@@ -6,7 +6,8 @@ on:
jobs:
build:
spotless:
name: 'Spotless'
runs-on: ubuntu-latest
steps:
@@ -17,10 +18,30 @@ jobs:
- name: 🛠 Build Project with Spotless Check
run: ./gradlew spotlessCheck
tests:
name: 'Tests'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setting up project
uses: ./.github/actions/setup
- name: 🧪 Run Tests
run: ./gradlew test
build:
name: 'Build Production Debug Build'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setting up project
uses: ./.github/actions/setup
- name: 🏗 Build APK
run: bash ./gradlew assembleProductionDebug