Skip to content

Commit 135486f

Browse files
committed
Write tests summary with Liquid Test Reports
DISABLE_GITHUB_REPORTER disables the built-in TUnit reporter
1 parent e026e26 commit 135486f

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.config/dotnet-tools.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
"dotnet-stryker"
1616
],
1717
"rollForward": true
18+
},
19+
"liquidtestreports.cli": {
20+
"version": "2.0.0-beta.6",
21+
"commands": [
22+
"liquid"
23+
],
24+
"rollForward": false
1825
}
1926
}
2027
}

.github/workflows/continuous-integration.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on: push
55
env:
66
Configuration: Release
77
ContinuousIntegrationBuild: true
8+
DISABLE_GITHUB_REPORTER: true
89
DOTNET_CLI_TELEMETRY_OPTOUT: true
910
DOTNET_NOLOGO: true
1011
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: true
@@ -45,6 +46,10 @@ jobs:
4546
run: dotnet build --no-restore
4647
- name: 🧪 Run tests
4748
run: dotnet test --no-build
49+
- name: 📊 Write tests summary
50+
run: |
51+
dotnet tool restore
52+
dotnet liquid --inputs "File=*.trx" --output-file $GITHUB_STEP_SUMMARY
4853
- name: 📤 Upload received files from failing tests
4954
uses: actions/upload-artifact@v4
5055
if: failure()

0 commit comments

Comments
 (0)