Skip to content

Commit

Permalink
GitHub workflow modification
Browse files Browse the repository at this point in the history
- Revert the previous changes of removing baseline profile generation through baseline profile gradle plugin.
- Remove the baseline profile configuration to run test on gradle managed device
  • Loading branch information
sagar-viradiya committed Dec 24, 2023
1 parent 64ebf83 commit bb47c15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/profile_generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ jobs:
with:
api-level: 31
arch: x86_64
profile: Pixel 6
script: ./gradlew :baseline-profile:connectedAndroidTest
script: ./gradlew :sample:generateBaselineProfile
8 changes: 4 additions & 4 deletions baseline-profile/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ android {

targetProjectPath = ":sample"

testOptions {
/*testOptions {
managedDevices {
devices {
create ("pixel6Api31", ManagedVirtualDevice::class) {
Expand All @@ -51,7 +51,7 @@ android {
}
}
}
}
}*/

compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
Expand All @@ -70,7 +70,7 @@ dependencies {
}


baselineProfile {
/*baselineProfile {
managedDevices += "pixel6Api31"
useConnectedDevices = false
}
}*/

0 comments on commit bb47c15

Please sign in to comment.