report-build-and-test #1352
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2022 The Orbit Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
name: report-build-and-test | |
on: | |
workflow_run: | |
workflows: ['build-and-test'] | |
types: | |
- completed | |
permissions: read-all | |
jobs: | |
report-tests: | |
permissions: | |
checks: write | |
statuses: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: dorny/test-reporter@c9b3d0e2bd2a4e96aaf424dbaa31c46b42318226 #v1.6.0 | |
with: | |
artifact: /test-results-(.*)-(.*)/ | |
name: '$2 $1 Test Results' | |
path: '**/*.xml' | |
reporter: java-junit |