| # ---------------------------------------------------------------------------- |
| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # https://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| # ---------------------------------------------------------------------------- |
| name: 'Java Platform Test Report' |
| |
| on: |
| workflow_run: |
| workflows: [ 'Java Platform compatibility' ] |
| types: |
| - completed |
| |
| env: |
| DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} |
| |
| jobs: |
| report: |
| strategy: |
| matrix: |
| java: [ 21 ] |
| # TODO: only works on windows due to https://github.com/dorny/test-reporter/issues/249 |
| #os: [ ubuntu-latest, macos-latest, windows-latest ] |
| os: [ windows-latest ] |
| fail-fast: false |
| runs-on: ${{ matrix.os }} |
| steps: |
| - uses: dorny/test-reporter@b082adf0eced0765477756c2a610396589b8c637 # v2.5.0 |
| with: |
| artifact: "java-test-report-${{ matrix.os }}-java-${{ matrix.java }}" |
| name: "Java Tests (OS: ${{ matrix.os }}, Java: ${{ matrix.java }})" |
| path: '**/*.xml' |
| reporter: java-junit |