Font consistency improved and Layouts enhanced #42
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: Build and Test | |
on: | |
pull_request: | |
branches: | |
- master | |
- release** | |
jobs: | |
local_test_job: | |
name: Running Local Tests | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3.5.2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1.4.4 | |
with: | |
java-version: 17 | |
- name: Print Java version | |
run: javac -version | |
- name: Change wrapper permissions | |
run: chmod +x ./gradlew | |
- name: Restore Cache | |
uses: actions/cache@v3.2.6 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Run Debug Tests | |
run: ./gradlew testDebugUnitTest --continue | |
- name: Upload Test Reports | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3.1.2 | |
with: | |
name: test-reports | |
path: '**/build/reports/tests/' | |
build_job: | |
name: Building the APK | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3.5.2 | |
- name: Restore Cache | |
uses: actions/cache@v3.2.6 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Change wrapper permissions | |
run: chmod +x ./gradlew | |
- name: Assemble Debug | |
run: ./gradlew assembleDebug | |
- name: Upload APK | |
uses: actions/upload-artifact@v3.1.2 | |
with: | |
name: apk | |
path: app/build/outputs/apk/debug/**.apk | |