diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2023-04-21 18:29:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-21 18:29:22 +0200 |
commit | eb50c4f28d978fcd914b819d523e8da607d05b0c (patch) | |
tree | 87041774b82c0af473e3766089f67d939f901eee /.github/workflows/tests-thorough.yml | |
parent | de63c4479bcd9a81db25b5432df82edb98119410 (diff) | |
download | dokka-eb50c4f28d978fcd914b819d523e8da607d05b0c.tar.gz dokka-eb50c4f28d978fcd914b819d523e8da607d05b0c.tar.bz2 dokka-eb50c4f28d978fcd914b819d523e8da607d05b0c.zip |
Clean up GitHub workflows (#2951)
* Run Gradle wrapper checksum less often
* Do not publish examples as artifacts in internal PRs
Diffstat (limited to '.github/workflows/tests-thorough.yml')
-rw-r--r-- | .github/workflows/tests-thorough.yml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/tests-thorough.yml b/.github/workflows/tests-thorough.yml new file mode 100644 index 00000000..6e54f9a3 --- /dev/null +++ b/.github/workflows/tests-thorough.yml @@ -0,0 +1,36 @@ +name: Test [thorough] + +on: + workflow_dispatch: + push: + branches: + - master + +jobs: + test-matrix: + strategy: + matrix: + os: [ ubuntu-latest, windows-latest, macos-latest ] + javaVersion: [ 8, 11, 17 ] + fail-fast: false + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + distribution: 'zulu' + 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 + - name: Run tests under Ubuntu/Macos + if: matrix.os != 'windows-latest' + run: ./gradlew clean test --stacktrace |