-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
06cda4d
commit 86cc290
Showing
2 changed files
with
14 additions
and
17 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,11 +19,11 @@ concurrency: | |
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
unit_tests: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/[email protected] | ||
with: | ||
distribution: 'zulu' | ||
|
@@ -32,15 +32,12 @@ jobs: | |
cache: "gradle" | ||
|
||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@v3 | ||
uses: gradle/actions/setup-gradle@v4 | ||
|
||
- name: Run quality checks | ||
run: ./gradlew --build-cache check --stacktrace | ||
- name: Check and build libraries | ||
run: ./gradlew --build-cache check assembleRelease --stacktrace | ||
|
||
- name: Assemble library | ||
run: ./gradlew --build-cache assembleRelease | ||
|
||
ui_test: | ||
instrumented_tests: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 20 | ||
strategy: | ||
|
@@ -49,10 +46,10 @@ jobs: | |
arch: [x86_64] | ||
target: [ google_apis ] | ||
api-level: [34] | ||
profile: [pixel_7] | ||
profile: [pixel_6, tv_1080p] | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Enable KVM | ||
run: | | ||
|
@@ -68,14 +65,14 @@ jobs: | |
cache: "gradle" | ||
|
||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@v3 | ||
uses: gradle/actions/setup-gradle@v4 | ||
|
||
- name: Compile instrumented tests | ||
run: ./gradlew --build-cache assembleDebugAndroidTest | ||
|
||
# Retrieve the cached emulator snapshot. | ||
- name: AVD cache | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
id: avd-cache | ||
with: | ||
path: | | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ on: | |
- 'main' | ||
|
||
jobs: | ||
create_emulator: | ||
create_avds: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 20 | ||
strategy: | ||
|
@@ -24,15 +24,15 @@ jobs: | |
arch: [x86_64] | ||
target: [ google_apis ] | ||
api-level: [34] | ||
profile: [pixel_6] | ||
profile: [pixel_6, tv_1080p] | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17.0.12+7' | ||
java-version: '17' | ||
check-latest: false | ||
cache: "gradle" | ||
|
||
|
@@ -47,7 +47,7 @@ jobs: | |
|
||
# Retrieve the cached emulator snapshot. | ||
- name: AVD cache | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
id: avd-cache | ||
with: | ||
path: | | ||
|