Skip to content

Commit

Permalink
GitHub workflow modification
Browse files Browse the repository at this point in the history
- Remove step to generate baseline profile through gradle plugin and replace with manually invoking test class
  • Loading branch information
sagar-viradiya committed Dec 21, 2023
1 parent 3c2282c commit 64ebf83
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/profile_generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ jobs:
distribution: 'zulu'
java-version: 17

- name: Setup Android SDK
uses: android-actions/setup-android@v3

- name: Generate profile
run: ./gradlew sample:generateBaselineProfile
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 31
arch: x86_64
profile: Pixel 6
script: ./gradlew :baseline-profile:connectedAndroidTest
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
*/

plugins {
id("com.android.application") version "8.2.0" apply false
id("com.android.application") version "8.2.0-beta05" apply false
id("org.jetbrains.kotlin.android") version "1.8.10" apply false
id("com.android.test") version "8.2.0" apply false
id("com.android.test") version "8.2.0-beta05" apply false
id("androidx.baselineprofile") version "1.2.0-alpha16" apply false
}

Expand Down

0 comments on commit 64ebf83

Please sign in to comment.