Skip to content

Commit

Permalink
fix: Use debug key for test builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Myzel394 committed May 15, 2024
1 parent 98965ec commit 5730fe5
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-testing.yaml
Original file line number Diff line number Diff line change
@@ -18,6 +18,14 @@ jobs:
java-version: 21
cache: "gradle"

- name: Write debug key
shell: bash
run: |
echo "storeFile=~/.android/debug.keystore" > key.properties
echo "storePassword=android" >> key.properties
echo "keyPassword=android" >> key.properties
echo "keyAlias=androiddebugkey" >> key.properties
- name: Run tests
run: ./gradlew test

1 change: 1 addition & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -91,6 +91,7 @@ android {
}
create("benchmark") {
initWith(getByName("debug"))
signingConfig = signingConfigs.getByName("debug")
isDebuggable = false
isMinifyEnabled = true
isShrinkResources = true

0 comments on commit 5730fe5

Please sign in to comment.