Run tests on windows
This commit is contained in:
parent
4763760984
commit
449868451e
1 changed files with 30 additions and 0 deletions
30
.github/workflows/test-push.yml
vendored
30
.github/workflows/test-push.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue