PERA-1348 :: Switch back to address as hd_key PK #614
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: "Android App Tests" | |
on: | |
push: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
android-unit-tests: | |
name: "Android App Unit Tests" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Install JDK 17" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "zulu" | |
java-version: "17" | |
cache: "gradle" | |
- name: "Run Unit Tests" | |
run: ./gradlew testDebugUnitTest | |
- name: "Archive App Unit Tests Report" | |
uses: actions/upload-artifact@v4 | |
if: ${{ always() }} | |
with: | |
name: "app-unit-tests-results" | |
path: ./**/build/reports/** | |
overwrite: true | |
android-lint: | |
name: "Android App Lint Checks" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Install JDK 17" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "zulu" | |
java-version: "17" | |
cache: "gradle" | |
- name: "Run Lint Checks" | |
run: ./gradlew lint | |
- name: "Archive App Lint Test Results" | |
uses: actions/upload-artifact@v4 | |
if: ${{ always() }} | |
with: | |
name: "app-lint-results" | |
path: ./**/build/reports/** | |
overwrite: true | |
android-bundle-publish-test: | |
name: "Android App Bundle Publish Test" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Install JDK 17" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "zulu" | |
java-version: "17" | |
cache: "gradle" | |
- name: "Run App Bundle Publish Test" | |
run: ./gradlew packageProdReleaseBundle | |
android-compose: | |
name: "Compose Android App Checks" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Install JDK 17" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "zulu" | |
java-version: "17" | |
cache: "gradle" | |
- name: "Run Compose Android App Checks" | |
run: ./gradlew composeTestApp:packageReleaseBundle | |
- name: "Archive Compose Android App Check Results" | |
uses: actions/upload-artifact@v4 | |
if: ${{ always() }} | |
with: | |
name: "compose-android-app-results" | |
path: ./**/build/reports/** | |
overwrite: true | |
ios-compose: | |
name: "Compose iOS App Checks" | |
runs-on: macos-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Install JDK 17" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "zulu" | |
java-version: "17" | |
cache: "gradle" | |
- name: "Run Compose iOS App Checks" | |
run: ./gradlew composeTestApp:compileKotlinIosSimulatorArm64 | |
- name: "Archive Compose iOS App Check Results" | |
uses: actions/upload-artifact@v4 | |
if: ${{ always() }} | |
with: | |
name: "compose-ios-app-results" | |
path: ./**/build/reports/** | |
overwrite: true |