Run tests on windows

dev/0.11
modmuss50 2021-06-13 10:50:17 +01:00 committed by GitHub
parent 4763760984
commit 449868451e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -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