18.0.2 #597
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: Test | |
on: pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ideaVersion: [ "2024.1.4" ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
otp-version: 24.3.4.6 | |
elixir-version: 1.13.0 | |
- name: Export OTP_RELEASE | |
run: echo "OTP_RELEASE=24.3.4.6" >> $GITHUB_ENV | |
- name: Export ERLANG_SDK_HOME | |
run: echo "ERLANG_SDK_HOME=`erl -eval 'io:format("~s", [code:root_dir()]).' -noshell -run init stop`" >> $GITHUB_ENV | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Export ideaVersion to gradle | |
run: echo "ORG_GRADLE_PROJECT_ideaVersion=${{matrix.ideaVersion}}" >> $GITHUB_ENV | |
- name: Compile Tests with Gradle | |
run: ./gradlew --stacktrace compileTestJava | |
- name: Get Elixir Source | |
run: ./gradlew --stacktrace getElixir | |
- name: Release Quoter | |
run: ./gradlew --stacktrace releaseQuoter | |
- name: Test with Gradle | |
run: ./gradlew --stacktrace test | |
runPluginVerifier: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Run Plugin Verifier | |
run: ./gradlew --stacktrace runPluginVerifier |