Skip to content

Commit 6e285ef

Browse files
committed
✨ Update build-release.yml to install Coverlet tool and modify test command for improved coverage collection
1 parent 9022fe0 commit 6e285ef

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/build-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,17 @@ jobs:
2626
with:
2727
dotnet-version: '9.x'
2828

29+
- name: Install Coverlet
30+
run: dotnet tool install --global coverlet.console
31+
2932
- name: Restore
3033
run: dotnet restore src/DispatchR/DispatchR.csproj
3134

3235
- name: Build
3336
run: dotnet build src/DispatchR/DispatchR.csproj --configuration Release --no-restore
3437

3538
- name: Run Tests
36-
run: dotnet test --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
39+
run: dotnet test --no-build --configuration Release --collect:"XPlat Code Coverage"
3740

3841
- name: List files
3942
run: ls -alh tests/DispatchR.IntegrationTest

0 commit comments

Comments
 (0)