Add IT to check protocol migration works (#243) #427
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [8, 11, 17, 21] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: | | |
${{ matrix.java }} | |
21 | |
- name: Execute test | |
uses: eskatos/gradle-command-action@v1 | |
with: | |
# Java is installed on JAVA_HOME_{java major version}_X64 | |
# refs: https://github.com/actions/setup-java/tree/v4.1.0?tab=readme-ov-file#install-multiple-jdks | |
arguments: | | |
-Ptest.java.major.version=${{ matrix.java }} | |
-Porg.gradle.java.installations.fromEnv=JAVA_HOME_${{ matrix.java }}_X64 | |
build jmhJar integrationTest |