diff --git a/.github/workflows/test-push.yml b/.github/workflows/test-push.yml index a7be5e6..9bed2ef 100644 --- a/.github/workflows/test-push.yml +++ b/.github/workflows/test-push.yml @@ -66,6 +66,36 @@ jobs: name: ${{ matrix.test }} (${{ matrix.java }}) Results path: build/reports/ + run_tests_windows: + needs: prepare_test_matrix + + strategy: + fail-fast: false + matrix: + java: [16] + test: ${{ fromJson(needs.prepare_test_matrix.outputs.matrix) }} + exclude: + - java: 16 + test: net.fabricmc.loom.test.integration.KotlinTest + + runs-on: windows-2019 + + steps: + - uses: actions/checkout@v2 + - name: setup jdk ${{ matrix.java }} + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - run: ./gradlew test --tests ${{ matrix.test }} --stacktrace + env: + TEST_WARNING_MODE: fail + + - uses: actions/upload-artifact@v2 + if: ${{ failure() }} + with: + name: ${{ matrix.test }} (${{ matrix.java }}) Results + path: build/reports/ + # Special case this test to run across all os's reproducible_build_test: needs: build