ui-tests in CI #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: root | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
gradle-properties-version: [ 232, 233 ] | |
os: [ ubuntu-latest ] | |
runs-on: ${{ matrix.os }} | |
env: | |
ORG_GRADLE_PROJECT_shortPlatformVersion: ${{ matrix.gradle-properties-version }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: 17 | |
- name: Setup Gradle and dependencies | |
uses: gradle/actions/[email protected] | |
with: | |
gradle-version: wrapper | |
cache-read-only: false | |
arguments: ":resolveDependencies -Pkotlin.incremental=false --no-daemon" | |
gradle-home-cache-excludes: | | |
caches/modules-2/files-2.1/com.jetbrains.intellij.pycharm | |
caches/modules-2/files-2.1/com.jetbrains.intellij.idea | |
caches/modules-2/files-2.1/com.jetbrains.intellij.clion | |
- name: Build | |
uses: gradle/[email protected] | |
with: | |
gradle-version: wrapper | |
arguments: "assemble testClasses -Pkotlin.incremental=false --no-daemon --stacktrace" | |
gradle-home-cache-excludes: | | |
caches/modules-2/files-2.1/com.jetbrains.intellij.pycharm | |
caches/modules-2/files-2.1/com.jetbrains.intellij.idea | |
caches/modules-2/files-2.1/com.jetbrains.intellij.clion | |
- name: Tests | |
uses: gradle/[email protected] | |
with: | |
gradle-version: wrapper | |
arguments: ":test -Pkotlin.incremental=false --no-daemon --stacktrace" | |
gradle-home-cache-excludes: | | |
caches/modules-2/files-2.1/com.jetbrains.intellij.pycharm | |
caches/modules-2/files-2.1/com.jetbrains.intellij.idea | |
caches/modules-2/files-2.1/com.jetbrains.intellij.clion | |
- name: Verify plugin.xml | |
uses: gradle/[email protected] | |
with: | |
gradle-version: wrapper | |
arguments: ":plugin:verifyPluginConfiguration -Pkotlin.incremental=false --no-daemon" | |
gradle-home-cache-excludes: | | |
caches/modules-2/files-2.1/com.jetbrains.intellij.pycharm | |
caches/modules-2/files-2.1/com.jetbrains.intellij.idea | |
caches/modules-2/files-2.1/com.jetbrains.intellij.clion | |
- name: Verify plugin | |
uses: gradle/[email protected] | |
with: | |
gradle-version: wrapper | |
arguments: ":plugin:runPluginVerifier -Pkotlin.incremental=false --no-daemon" | |
gradle-home-cache-excludes: | | |
caches/modules-2/files-2.1/com.jetbrains.intellij.pycharm | |
caches/modules-2/files-2.1/com.jetbrains.intellij.idea | |
caches/modules-2/files-2.1/com.jetbrains.intellij.clion |