diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2023-07-12 14:59:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-12 14:59:51 +0200 |
commit | 54decbe937ddcb0e3a8922babdc5f1d805fd42c0 (patch) | |
tree | 9980f4466c3b757c0b923fcff43157daa9ff5f16 /.github/workflows/tests-thorough.yml | |
parent | 14cd0f3e42e13927f9852d2cb74cc0098c1a429c (diff) | |
download | dokka-54decbe937ddcb0e3a8922babdc5f1d805fd42c0.tar.gz dokka-54decbe937ddcb0e3a8922babdc5f1d805fd42c0.tar.bz2 dokka-54decbe937ddcb0e3a8922babdc5f1d805fd42c0.zip |
Set the correct testLauncher property in workflows (#3064)
Diffstat (limited to '.github/workflows/tests-thorough.yml')
-rw-r--r-- | .github/workflows/tests-thorough.yml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/tests-thorough.yml b/.github/workflows/tests-thorough.yml index 7684277e..9c4679b2 100644 --- a/.github/workflows/tests-thorough.yml +++ b/.github/workflows/tests-thorough.yml @@ -22,15 +22,18 @@ jobs: java-version: 17 cache: 'maven' - uses: gradle/gradle-build-action@v2 - env: - ORG_GRADLE_PROJECT_org.jetbrains.dokka.javaToolchain.test: ${{ matrix.javaVersion }} with: gradle-home-cache-cleanup: true - name: Run tests under Windows if: matrix.os == 'windows-latest' # Running tests with the Gradle daemon on windows agents leads to some very strange # JVM crashes for some reason. Most likely a problem of Gradle/GitHub/Windows server - run: ./gradlew clean test --stacktrace --no-daemon --no-parallel "-Dorg.gradle.jvmargs=-Xmx1g -XX:MaxMetaspaceSize=500m" + run: > + ./gradlew clean test --stacktrace --no-daemon --no-parallel + "-Dorg.gradle.jvmargs=-Xmx1g -XX:MaxMetaspaceSize=500m" + "-Porg.jetbrains.dokka.javaToolchain.testLauncher=${{ matrix.javaVersion }}" - name: Run tests under Ubuntu/Macos if: matrix.os != 'windows-latest' - run: ./gradlew clean test --stacktrace + run: > + ./gradlew clean test --stacktrace + "-Porg.jetbrains.dokka.javaToolchain.testLauncher=${{ matrix.javaVersion }}" |