Skip to content

feat: Numpad v59 design #2205

feat: Numpad v59 design

feat: Numpad v59 design #2205

Workflow file for this run

name: CI
on:
push:
branches: [ "master" ]
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
TERM: xterm-256color
FORCE_COLOR: 1
jobs:
build:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Decode google-services.json
run: echo "$GOOGLE_SERVICES_JSON_BASE64" | base64 -d > app/google-services.json
env:
GOOGLE_SERVICES_JSON_BASE64: ${{ secrets.GOOGLE_SERVICES_JSON_BASE64 }}
- name: Build debug app
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CHATWOOT_API: ${{ secrets.CHATWOOT_API }}
run: ./gradlew assembleDevDebug
- name: Run tests
run: ./gradlew testDevDebugUnitTest
- name: Upload test report
uses: actions/upload-artifact@v4
with:
name: unit_test_report_${{ github.run_number }}
path: app/build/reports/tests/testDevDebugUnitTest/
retention-days: 30