Update to use new test-reporter on ci (#724)
This commit is contained in:
Родитель
cfb557c79f
Коммит
3c9eefd37d
|
@ -1,23 +0,0 @@
|
|||
name: CI Report
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ['CI']
|
||||
types:
|
||||
- completed
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
actions: read
|
||||
checks: write
|
||||
|
||||
jobs:
|
||||
ut-report:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: dorny/test-reporter@v1
|
||||
with:
|
||||
artifact: unit-test
|
||||
name: CI report
|
||||
path: '*.xml'
|
||||
reporter: java-junit
|
|
@ -127,4 +127,25 @@ jobs:
|
|||
name: unit-test-${{ matrix.target.name }}-${{ matrix.target.arch }}
|
||||
path: |
|
||||
${{ matrix.target.name }}-${{ matrix.target.arch }}.log
|
||||
${{ matrix.target.name }}-${{ matrix.target.arch }}.xml
|
||||
${{ matrix.target.name }}-${{ matrix.target.arch }}.xml
|
||||
|
||||
report:
|
||||
name: Report
|
||||
needs: unit-test
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
checks: write
|
||||
pull-requests: write
|
||||
if: always()
|
||||
steps:
|
||||
- name: Download Test Report Artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: ci-test
|
||||
pattern: 'unit-test-*'
|
||||
merge-multiple: true
|
||||
|
||||
- name: Publish Test Results
|
||||
uses: EnricoMi/publish-unit-test-result-action@v2
|
||||
with:
|
||||
files: 'ci-test/*.xml'
|
Загрузка…
Ссылка в новой задаче