Browse Source

Run Gradle test on parallel agents (#3608)

pull/3616/head
Alexey Tsvetkov 1 year ago committed by GitHub
parent
commit
3e31d9a6b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .github/workflows/gradle-plugin.yml
  2. 1
      gradle-plugins/gradle.properties

3
.github/workflows/gradle-plugin.yml

@ -10,6 +10,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-20.04, macos-12, windows-2022] os: [ubuntu-20.04, macos-12, windows-2022]
gradle: [7.3.3, 8.3]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -22,7 +23,7 @@ jobs:
run: | run: |
cd gradle-plugins cd gradle-plugins
./gradlew assemble ./gradlew assemble
./gradlew :compose:check --continue ./gradlew --continue :preview-rpc:test :compose:test :compose:testGradle-${{ matrix.gradle }}
- name: Print summary - name: Print summary
shell: bash shell: bash
if: always() if: always()

1
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. # 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 compose.tests.js.compiler.compatible.kotlin.version=1.9.0
# __SUPPORTED_GRADLE_VERSIONS__ # __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 compose.tests.gradle.versions=7.3.3, 8.3
# A version of Gradle plugin, that will be published, # A version of Gradle plugin, that will be published,

Loading…
Cancel
Save