diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 28ba01a3..6c5141ce 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -46,31 +46,31 @@ jobs: run: dotnet build - name: Test run: dotnet test --logger "trx;LogFileName=test-results.trx" --collect:"XPlat Code Coverage" - - name: Test Reporting - uses: phoenix-actions/test-reporting@v8 - id: test-report - if: success() || failure() - with: - name: 'Unit Test' - path: './src/TDesign.Test/TestResults/*' - reporter: 'dotnet-trx' - - name: Generate Report - run: | - echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}" + #- name: Test Reporting + # uses: phoenix-actions/test-reporting@v8 + # id: test-report + # if: success() || failure() + # with: + # name: 'Unit Test' + # path: './src/TDesign.Test/TestResults/*' + # reporter: 'dotnet-trx' + #- name: Generate Report + # run: | + # echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}" - - name: Dotnet Test Reporter - uses: bibipkins/dotnet-test-reporter@v1.0.0-beta.4 - if: github.repository_owner == 'tdesign-blazor' - with: - github-token: ${{ env.GITHUB_TOKEN }} - test-results: ./src/TDesign.Test/TestResults/ - test-coverage: ./src/TDesign.Test/TestResults/**/*coverage*.xml - min-coverage: 80 - comment-title: 'Unit Test Results' - - name: PR Comment - uses: github-actions-up-and-running/pr-comment@v1.0.1 - with: - repo-token: ${{ env.GITHUB_TOKEN }} - message: 查看测试结果 ${{ steps.test-report.outputs.runHtmlUrl }} + #- name: Dotnet Test Reporter + # uses: bibipkins/dotnet-test-reporter@v1.0.0-beta.4 + # if: github.repository_owner == 'tdesign-blazor' + # with: + # github-token: ${{ env.GITHUB_TOKEN }} + # test-results: ./src/TDesign.Test/TestResults/ + # test-coverage: ./src/TDesign.Test/TestResults/**/*coverage*.xml + # min-coverage: 80 + # comment-title: 'Unit Test Results' + #- name: PR Comment + # uses: github-actions-up-and-running/pr-comment@v1.0.1 + # with: + # repo-token: ${{ env.GITHUB_TOKEN }} + # message: 查看测试结果 ${{ steps.test-report.outputs.runHtmlUrl }}