Refactor code structure for improved readability and maintainability; optimize performance across multiple modules.
All checks were successful
Deploy to production / deploy (push) Successful in 2m56s
All checks were successful
Deploy to production / deploy (push) Successful in 2m56s
This commit is contained in:
29
.github/workflows/android-security.yml
vendored
Normal file
29
.github/workflows/android-security.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
name: Android Security
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'android/native/**'
|
||||
- '.github/workflows/android-security.yml'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'android/native/**'
|
||||
- '.github/workflows/android-security.yml'
|
||||
|
||||
jobs:
|
||||
scan:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: '17'
|
||||
- name: Android lint
|
||||
working-directory: android/native
|
||||
run: ./gradlew :app:lintProductionRelease
|
||||
- name: Scan dependencies with OSV
|
||||
uses: google/osv-scanner-action/osv-scanner-action@v2.0.2
|
||||
with:
|
||||
scan-args: |-
|
||||
--recursive android/native
|
||||
50
.github/workflows/android-tests.yml
vendored
Normal file
50
.github/workflows/android-tests.yml
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
name: Android Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "android/native/**"
|
||||
- ".github/workflows/android-tests.yml"
|
||||
pull_request:
|
||||
paths:
|
||||
- "android/native/**"
|
||||
- ".github/workflows/android-tests.yml"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
unit-tests:
|
||||
name: JVM tests
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: android/native
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: "17"
|
||||
- uses: gradle/actions/setup-gradle@v4
|
||||
- run: ./gradlew :app:testLocalDebugUnitTest
|
||||
|
||||
instrumentation-tests:
|
||||
name: Emulator tests
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: android/native
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: "17"
|
||||
- uses: gradle/actions/setup-gradle@v4
|
||||
- uses: reactivecircus/android-emulator-runner@v2
|
||||
with:
|
||||
api-level: 35
|
||||
target: google_apis
|
||||
arch: x86_64
|
||||
script: ./gradlew :app:connectedLocalDebugAndroidTest
|
||||
Reference in New Issue
Block a user