diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 815d9e5..087b176 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,8 +14,9 @@ jobs: - { jdk: 17, idea: 2023.3 } - { jdk: 17, idea: 2024.1 } - { jdk: 17, idea: 2024.2 } + - { jdk: 17, idea: 2024.2, testArgs: '-Dorg.gradle.jvmargs=-Didea.kotlin.plugin.use.k2=true', name: '2024.2 K2' } - { jdk: 17, idea: LATEST-EAP-SNAPSHOT } - name: 'IDEA ${{ matrix.version.idea }}' + name: 'IDEA ${{ matrix.version.name || matrix.version.idea }}' env: IDEA_VERSION: ${{ matrix.version.idea }} runs-on: ubuntu-latest @@ -28,7 +29,7 @@ jobs: distribution: 'zulu' java-version: ${{ matrix.version.jdk }} - name: 'Test' - run: ./gradlew --warning-mode=all build + run: ./gradlew --warning-mode=all build ${{ matrix.version.testArgs }} - name: 'Generate coverage report' run: ./gradlew --warning-mode=all jacocoTestReport - name: 'Upload coverage to Codecov'