diff --git a/.github/workflows/test-push.yml b/.github/workflows/test-push.yml index 186e226e3..6008a8c34 100644 --- a/.github/workflows/test-push.yml +++ b/.github/workflows/test-push.yml @@ -148,53 +148,3 @@ jobs: with: name: Reproducible Build ${{ matrix.os }} (${{ matrix.java }}) Results path: build/reports/ - - # Special case this test to run on Java 21 - neoForge1206Test: - needs: build - - strategy: - fail-fast: false - matrix: - java: [ 21 ] - os: [ ubuntu-22.04 ] - - runs-on: ${{ matrix.os }} - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 - with: - java-version: ${{ matrix.java }} - distribution: 'temurin' - - - run: ./gradlew test --tests *NeoForge1206Test --stacktrace --warning-mode fail - - - uses: actions/upload-artifact@v4 - if: ${{ failure() }} - with: - name: NeoForge 1.20.6 Build Results - # Special case this test to run on Java 21 - forge1206Test: - needs: build - - strategy: - fail-fast: false - matrix: - java: [ 21 ] - os: [ ubuntu-22.04 ] - - runs-on: ${{ matrix.os }} - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 - with: - java-version: ${{ matrix.java }} - distribution: 'temurin' - - - run: ./gradlew test --tests *Forge1206Test --stacktrace --warning-mode fail - - - uses: actions/upload-artifact@v4 - if: ${{ failure() }} - with: - name: Forge 1.20.6 Build Results - path: build/reports/ \ No newline at end of file diff --git a/build.gradle b/build.gradle index 69e3a6fa7..7d8d3e98b 100644 --- a/build.gradle +++ b/build.gradle @@ -424,11 +424,6 @@ tasks.register('writeActionsTestMatrix') { return } - if (it.name.endsWith("NeoForge1206Test.groovy") || it.name.endsWith("Forge1206Test.groovy")) { - // Arch: The 1.20.6 tests require Java 21 - return - } - def className = it.path.toString().replace(".groovy", "") className = className.substring(className.lastIndexOf("integration/") + "integration/".length()).replace('/', '.')