diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bc67fd62..f0bcb745 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,8 +8,8 @@ jobs: strategy: matrix: - java-version: [ 8 , 11 , 16 , 18 ] - compiler-version: [ 1.1 , 1.2 , 1.3 , 1.4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 , 18 ] + java-version: [ 8 , 11 , 16 , 17 ] + compiler-version: [ 1.1 , 1.2 , 1.3 , 1.4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 ] os: [ ubuntu-latest , macos-latest , windows-latest ] steps: @@ -30,8 +30,7 @@ jobs: shell: bash env: SRC_VERSION: ${{ matrix.compiler-version }} - - - name: Build and run tests +- name: Build and run tests run: mvn --batch-mode clean test if: ${{ matrix.compiler-version <= matrix.java-version && (matrix.java-version < 14 || matrix.compiler-version >= 7) && (matrix.java-version < 11 || matrix.compiler-version >= 6) }} env: diff --git a/README.md b/README.md index 9f4e5b08..a9d12a15 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ * **Ease of use**: With an intuitive, reliable and stable API, flacoco can be easily used in other projects such as automated program repair tools. * **Compatibility**: * Supports JUnit3, Junit4 and JUnit5. - * Supports Java 1 to Java 18 bytecode. - * Runs on Java 8 to Java 18. + * Supports Java 1 to Java 17 bytecode. + * Runs on Java 8 to Java 17. * Runs on Linux, MacOS and Windows. * **Stability**: Tests are executed in an isolated JVM.