Skip to content

Commit

Permalink
We ran into dorny/test-reporter#67 too, so we'll have to ignore test …
Browse files Browse the repository at this point in the history
…report generation for pull requests (repo-local PRs are preceded by normal build events that will generate the report)
  • Loading branch information
christophwille committed Mar 10, 2022
1 parent c7eb50e commit f1f9701
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 24 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/build-ilspy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,23 @@ 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: Upload Test Report
- name: Upload Test Logs
uses: actions/upload-artifact@v2
if: success() || failure()
with:
name: test-results-${{ matrix.configuration }}
path: '**/*.trx'

- name: Create Test Report
uses: phoenix-actions/test-reporting@v6
if: github.event_name != 'pull_request' && (success() || failure())
with:
name: Unit Test Results (${{ matrix.configuration }})
path: '**/*.trx'
reporter: dotnet-trx
list-suites: 'all'
list-tests: 'failed'

- name: Style - tab check
run: python BuildTools\tidy.py

Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/test-reports.yml

This file was deleted.

0 comments on commit f1f9701

Please sign in to comment.