diff options
Diffstat (limited to '.github/workflows/tests-smoke.yml')
-rw-r--r-- | .github/workflows/tests-smoke.yml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/tests-smoke.yml b/.github/workflows/tests-smoke.yml new file mode 100644 index 00000000..96ab0196 --- /dev/null +++ b/.github/workflows/tests-smoke.yml @@ -0,0 +1,35 @@ +name: Test [smoke] + +on: pull_request + +concurrency: + group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' + cancel-in-progress: true + +jobs: + test-matrix: + strategy: + matrix: + os: [ ubuntu-latest, windows-latest ] + 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: 11 + 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 + if: matrix.os != 'windows-latest' + run: ./gradlew clean test --stacktrace |