Skip to content

Commit b9930ee

Browse files
CopilotIvanMurzak
andcommitted
Fix TRX file size issue by enabling large_files support and using default logger
Co-authored-by: IvanMurzak <9135028+IvanMurzak@users.noreply.github.com>
1 parent fca9656 commit b9930ee

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/pull_request.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ jobs:
2727
- name: Build
2828
run: dotnet build --no-restore --configuration Release
2929
- name: Test
30-
run: dotnet test --no-build --verbosity normal --configuration Release --logger "trx;LogFileName=test-results.trx"
30+
run: dotnet test --no-build --verbosity normal --configuration Release --logger trx
3131
- name: Publish Test Results
3232
uses: EnricoMi/publish-unit-test-result-action@v2
3333
if: always()
3434
with:
3535
files: '**/TestResults/*.trx'
36-
check_name: 'Test Results'
36+
check_name: 'Test Results'
37+
large_files: true

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,15 @@ jobs:
7373
run: dotnet build --no-restore --configuration Release
7474

7575
- name: Test
76-
run: dotnet test --no-build --verbosity normal --configuration Release --logger "trx;LogFileName=test-results.trx"
76+
run: dotnet test --no-build --verbosity normal --configuration Release --logger trx
7777

7878
- name: Publish Test Results
7979
uses: EnricoMi/publish-unit-test-result-action@v2
8080
if: always()
8181
with:
8282
files: '**/TestResults/*.trx'
8383
check_name: 'Test Results'
84+
large_files: true
8485

8586
publish-release:
8687
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)