-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #741 from splendo/release/1.3.0
Release 1.3.0
- Loading branch information
Showing
649 changed files
with
14,722 additions
and
8,426 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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Android tests | ||
on: pull_request | ||
env: | ||
GRADLE_OPTS: "-Dorg.gradle.jvmargs=\"-Xmx8G -XX:MaxMetaspaceSize=512m -Dorg.gradle.daemon=false -Dkotlin.incremental=false\" -Dorg.gradle.daemon=false -Dkotlin.incremental=false -Dkotlin.daemon.jvm.options=-Xmx8G,-XX:MaxMetaspaceSize=512m,-Dorg.gradle.daemon=false,-Dkotlin.incremental=false" | ||
JAVA_OPTS: "-Xmx8G -XX:MaxMetaspaceSize=512m -Dorg.gradle.daemon=false -Dkotlin.incremental=false" | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: 17 | ||
|
||
- name: run Android unit tests | ||
run: ./gradlew testDebugUnitTest | ||
|
||
- name: run apiCheck | ||
run: ./gradlew apiCheck |
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
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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: iOS tests | ||
on: pull_request | ||
env: | ||
GRADLE_OPTS: "-Dorg.gradle.jvmargs=\"-Xmx8G -XX:MaxMetaspaceSize=512m -Dorg.gradle.daemon=false -Dkotlin.incremental=false\" -Dorg.gradle.daemon=false -Dkotlin.incremental=false -Dkotlin.daemon.jvm.options=-Xmx8G,-XX:MaxMetaspaceSize=512m,-Dorg.gradle.daemon=false,-Dkotlin.incremental=false" | ||
JAVA_OPTS: "-Xmx8G -XX:MaxMetaspaceSize=512m -Dorg.gradle.daemon=false -Dkotlin.incremental=false" | ||
|
||
jobs: | ||
build: | ||
uses: ./.github/workflows/setup_macos.yaml | ||
with: | ||
gradleTask: compileKotlinIosX64 | ||
|
||
lint: | ||
needs: build | ||
runs-on: macos-13 | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Setup tools and cache for workspace | ||
uses: ./.github/workflows/setup_tools_macos/ | ||
with: | ||
kotlinVersion: ${{ needs.build.outputs.kotlinVersion }} | ||
|
||
- name: ktLint | ||
run: ./gradlew lintKotlin | ||
|
||
- name: ktLint report | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ktLint report | ||
path: build/reports/ktlint | ||
if: ${{ failure() }} | ||
|
||
test: | ||
needs: build | ||
runs-on: macos-13 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
module: ${{ fromJSON(needs.build.outputs.projects) }} | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup tools and cache for workspace | ||
uses: ./.github/workflows/setup_tools_macos/ | ||
with: | ||
kotlinVersion: ${{ needs.build.outputs.kotlinVersion }} | ||
|
||
- name: run iOS tests | ||
run: ./gradlew :${{ matrix.module }}:iosX64Test |
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
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Rerun failed emulator tests | ||
on: | ||
workflow_run: | ||
workflows: ["Android Emulator tests"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
on-failure: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.run_attempt < 2 }} | ||
steps: | ||
- run: gh run rerun ${{ github.event.workflow_run.id }} --failed |
Oops, something went wrong.