From 3e31d9a6b03baee24a1faa0add17b56c3b1fc248 Mon Sep 17 00:00:00 2001 From: Alexey Tsvetkov <654232+AlexeyTsvetkov@users.noreply.github.com> Date: Sat, 2 Sep 2023 17:12:47 +0300 Subject: [PATCH] Run Gradle test on parallel agents (#3608) --- .github/workflows/gradle-plugin.yml | 3 ++- gradle-plugins/gradle.properties | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gradle-plugin.yml b/.github/workflows/gradle-plugin.yml index 896e952f11..f54484e93b 100644 --- a/.github/workflows/gradle-plugin.yml +++ b/.github/workflows/gradle-plugin.yml @@ -10,6 +10,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, macos-12, windows-2022] + gradle: [7.3.3, 8.3] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -22,7 +23,7 @@ jobs: run: | cd gradle-plugins ./gradlew assemble - ./gradlew :compose:check --continue + ./gradlew --continue :preview-rpc:test :compose:test :compose:testGradle-${{ matrix.gradle }} - name: Print summary shell: bash if: always() diff --git a/gradle-plugins/gradle.properties b/gradle-plugins/gradle.properties index c20048fb26..264df4cb42 100644 --- a/gradle-plugins/gradle.properties +++ b/gradle-plugins/gradle.properties @@ -10,6 +10,7 @@ compose.tests.compiler.compatible.kotlin.version=1.9.0 # The latest version of Kotlin compatible with compose.tests.compiler.version for JS target. Used only on CI. compose.tests.js.compiler.compatible.kotlin.version=1.9.0 # __SUPPORTED_GRADLE_VERSIONS__ +# Don't forget to edit versions in .github/workflows/gradle-plugin.yml as well compose.tests.gradle.versions=7.3.3, 8.3 # A version of Gradle plugin, that will be published,