Skip to content

Commit

Permalink
WIP integration with sdk-test-proxy
Browse files Browse the repository at this point in the history
TODO can we decrease the 1m 35s this takes to start?
TODO can we reduce the risk of one test case or test run contaminating another?

Resolves #1003.
  • Loading branch information
lawrence-forooghian committed Feb 16, 2023
1 parent cfcff6b commit 43168f0
Show file tree
Hide file tree
Showing 8 changed files with 155 additions and 1,342 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/emulate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,18 @@ jobs:
excludeModules: true
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

# Gradle 7 requires Java 11 to run
- uses: actions/setup-java@v3
with:
distribution: zulu
java-version: '19'

- name: Start SDK test proxy server
run: cd external/sdk-test-proxy && ./start-service

- uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "external/sdk-test-proxy"]
path = external/sdk-test-proxy
url = git@github.com:ably/sdk-test-proxy.git
4 changes: 4 additions & 0 deletions android-test-common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ plugins {
id 'com.android.library'
id 'kotlin-android'
id 'org.jlleitschuh.gradle.ktlint'
// TODO should this be here?
id 'org.jetbrains.kotlin.plugin.serialization' version "$kotlin_version"
}

dependencies {
Expand All @@ -21,6 +23,8 @@ dependencies {
implementation "io.ktor:ktor-client-logging:$ktor_version"
implementation "uk.uuid.slf4j:slf4j-android:1.7.36-0"

implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1'

implementation 'org.msgpack:msgpack-core:0.9.3'
}

Expand Down
Loading

0 comments on commit 43168f0

Please sign in to comment.