Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing CI Emulator & Action Config #1142

Merged
merged 3 commits into from
Dec 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions .github/workflows/kotlin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on :
pull_request :
merge_group :

env:
ANDROID_EMULATOR_WAIT_TIME_BEFORE_KILL: 720 # 12 minutes; default is 20s

# If CI is already running for a branch when that branch is updated, cancel the older jobs.
concurrency :
group : ci-${{ github.ref }}-${{ github.head_ref }}
Expand Down Expand Up @@ -267,15 +270,13 @@ jobs :
performance-tests :
name : Performance tests
runs-on : macos-latest
timeout-minutes : 30
timeout-minutes : 45
strategy :
# Allow tests to continue on other devices if they fail on one device.
fail-fast : false
matrix :
api-level :
- 29
# Unclear that older versions actually honor command to disable animation.
# Newer versions are reputed to be too slow: https://github.com/ReactiveCircus/android-emulator-runner/issues/222
- 31
steps :
- uses : actions/checkout@v3

Expand All @@ -290,15 +291,13 @@ jobs :
instrumentation-tests :
name : Instrumentation tests
runs-on : macos-latest
timeout-minutes : 45
timeout-minutes : 60
strategy :
# Allow tests to continue on other devices if they fail on one device.
fail-fast : false
matrix :
# Unclear that older versions actually honor command to disable animation.
# Newer versions are reputed to be too slow: https://github.com/ReactiveCircus/android-emulator-runner/issues/222
api-level :
- 29
- 31
### <start-connected-check-shards>
shardNum : [ 1, 2, 3 ]
### <end-connected-check-shards>
Expand All @@ -317,13 +316,13 @@ jobs :
runtime-instrumentation-tests :
name : Conflate Stale Renderings Instrumentation tests
runs-on : macos-latest
timeout-minutes : 45
timeout-minutes : 60
strategy :
# Allow tests to continue on other devices if they fail on one device.
fail-fast : false
matrix :
api-level :
- 29
- 31
### <start-connected-check-shards>
shardNum : [ 1, 2, 3 ]
### <end-connected-check-shards>
Expand Down
Loading