#207 Use Uast to be able to support both K1 and K2 in the same time #374
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: CI | |
on: [push, pull_request] | |
jobs: | |
test_idea: | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
- { jdk: 17, idea: 2022.3 } | |
- { jdk: 17, idea: 2023.1 } | |
- { jdk: 17, idea: 2023.2 } | |
- { jdk: 17, idea: 2023.3 } | |
- { jdk: 17, idea: 2024.1 } | |
- { jdk: 17, idea: 2024.2 } | |
- { jdk: 17, idea: LATEST-EAP-SNAPSHOT } | |
name: 'IDEA ${{ matrix.version.idea }}' | |
env: | |
IDEA_VERSION: ${{ matrix.version.idea }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout' | |
uses: actions/checkout@v4 | |
- name: 'Set up JDK' | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.version.jdk }} | |
- name: 'Test' | |
run: ./gradlew --warning-mode=all build | |
- name: 'Generate coverage report' | |
run: ./gradlew --warning-mode=all jacocoTestReport | |
- name: 'Upload coverage to Codecov' | |
uses: codecov/codecov-action@v4 | |
with: | |
fail_ci_if_error: true | |
token: ${{ secrets.CODECOV_TOKEN }} |