Browse Source

Split Test Report Workflow (#2650)

pull/2649/head
Christoph Wille 3 years ago committed by GitHub
parent
commit
c7eb50ec4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      .github/workflows/build-ilspy.yml
  2. 23
      .github/workflows/test-reports.yml

9
.github/workflows/build-ilspy.yml

@ -58,15 +58,12 @@ jobs: @@ -58,15 +58,12 @@ jobs:
Tests2: ILSpy.Tests\bin\${{ matrix.configuration }}\net6.0-windows\ILSpy.Tests.dll
Tests3: ILSpy.BamlDecompiler.Tests\bin\${{ matrix.configuration }}\net6.0-windows\win-x64\ILSpy.BamlDecompiler.Tests.dll
- name: Test Report
uses: phoenix-actions/test-reporting@v6
- name: Upload Test Report
uses: actions/upload-artifact@v2
if: success() || failure()
with:
name: Unit Test Results (${{ matrix.configuration }})
name: test-results-${{ matrix.configuration }}
path: '**/*.trx'
reporter: dotnet-trx
list-suites: 'all'
list-tests: 'failed'
- name: Style - tab check
run: python BuildTools\tidy.py

23
.github/workflows/test-reports.yml

@ -0,0 +1,23 @@ @@ -0,0 +1,23 @@
name: 'Test Report'
on:
workflow_run:
workflows: ['Build ILSpy']
types:
- completed
jobs:
report:
runs-on: ubuntu-latest
strategy:
matrix:
Configuration: [ Debug, Release ]
steps:
- name: Test Report
uses: phoenix-actions/test-reporting@v6
with:
artifact: test-results-${{ matrix.configuration }}
name: Unit Test Results (${{ matrix.configuration }})
path: '**/*.trx'
reporter: dotnet-trx
list-suites: 'all'
list-tests: 'failed'
Loading…
Cancel
Save