Run tests on windows
parent
4763760984
commit
449868451e
|
@ -66,6 +66,36 @@ jobs:
|
||||||
name: ${{ matrix.test }} (${{ matrix.java }}) Results
|
name: ${{ matrix.test }} (${{ matrix.java }}) Results
|
||||||
path: build/reports/
|
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
|
# Special case this test to run across all os's
|
||||||
reproducible_build_test:
|
reproducible_build_test:
|
||||||
needs: build
|
needs: build
|
||||||
|
|
Loading…
Reference in New Issue