Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 326f4ee

Browse files
committed
Update pull-request.yml
1 parent a8a44cc commit 326f4ee

1 file changed

Lines changed: 25 additions & 25 deletions

File tree

.github/workflows/pull-request.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -46,31 +46,31 @@ jobs:
4646
run: dotnet build
4747
- name: Test
4848
run: dotnet test --logger "trx;LogFileName=test-results.trx" --collect:"XPlat Code Coverage"
49-
- name: Test Reporting
50-
uses: phoenix-actions/test-reporting@v8
51-
id: test-report
52-
if: success() || failure()
53-
with:
54-
name: 'Unit Test'
55-
path: './src/TDesign.Test/TestResults/*'
56-
reporter: 'dotnet-trx'
57-
- name: Generate Report
58-
run: |
59-
echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"
49+
#- name: Test Reporting
50+
# uses: phoenix-actions/test-reporting@v8
51+
# id: test-report
52+
# if: success() || failure()
53+
# with:
54+
# name: 'Unit Test'
55+
# path: './src/TDesign.Test/TestResults/*'
56+
# reporter: 'dotnet-trx'
57+
#- name: Generate Report
58+
# run: |
59+
# echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"
6060

61-
- name: Dotnet Test Reporter
62-
uses: bibipkins/dotnet-test-reporter@v1.0.0-beta.4
63-
if: github.repository_owner == 'tdesign-blazor'
64-
with:
65-
github-token: ${{ env.GITHUB_TOKEN }}
66-
test-results: ./src/TDesign.Test/TestResults/
67-
test-coverage: ./src/TDesign.Test/TestResults/**/*coverage*.xml
68-
min-coverage: 80
69-
comment-title: 'Unit Test Results'
70-
- name: PR Comment
71-
uses: github-actions-up-and-running/pr-comment@v1.0.1
72-
with:
73-
repo-token: ${{ env.GITHUB_TOKEN }}
74-
message: 查看测试结果 ${{ steps.test-report.outputs.runHtmlUrl }}
61+
#- name: Dotnet Test Reporter
62+
# uses: bibipkins/dotnet-test-reporter@v1.0.0-beta.4
63+
# if: github.repository_owner == 'tdesign-blazor'
64+
# with:
65+
# github-token: ${{ env.GITHUB_TOKEN }}
66+
# test-results: ./src/TDesign.Test/TestResults/
67+
# test-coverage: ./src/TDesign.Test/TestResults/**/*coverage*.xml
68+
# min-coverage: 80
69+
# comment-title: 'Unit Test Results'
70+
#- name: PR Comment
71+
# uses: github-actions-up-and-running/pr-comment@v1.0.1
72+
# with:
73+
# repo-token: ${{ env.GITHUB_TOKEN }}
74+
# message: 查看测试结果 ${{ steps.test-report.outputs.runHtmlUrl }}
7575

7676

0 commit comments

Comments
 (0)