Skip to content

Commit 05b2803

Browse files
committed
Removing coverlet from PR and CD - kept only in releases
1 parent 39f9a59 commit 05b2803

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

.github/workflows/cd.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,11 @@ jobs:
8888

8989
- name: Test (Ubuntu)
9090
if: startsWith(matrix.os, 'ubuntu')
91-
run: dotnet test --no-build --verbosity normal -c Release -f ${{ matrix.dotnet-framework }} /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[*.XUnit]*"
91+
run: dotnet test --no-build --verbosity normal -c Release -f ${{ matrix.dotnet-framework }}
9292

9393
- name: Test (Windows)
9494
if: startsWith(matrix.os, 'windows')
95-
run: dotnet test --no-build --verbosity normal -c Release -f ${{ matrix.dotnet-framework }} --filter "DB!=SQLServer" /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[*.XUnit]*"
96-
97-
- name: Collect to Codecov
98-
uses: codecov/codecov-action@v5
99-
with:
100-
token: ${{ secrets.CODECOV_TOKEN }}
95+
run: dotnet test --no-build --verbosity normal -c Release -f ${{ matrix.dotnet-framework }} --filter "DB!=SQLServer"
10196

10297
publish:
10398
needs: build

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ jobs:
8888

8989
- name: Test (Ubuntu)
9090
if: startsWith(matrix.os, 'ubuntu')
91-
run: dotnet test --no-build --verbosity normal -c Release -f ${{ matrix.dotnet-framework }} /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[*.XUnit]*"
91+
run: dotnet test --no-build --verbosity normal -c Release -f ${{ matrix.dotnet-framework }}
9292

9393
- name: Test (Windows)
9494
if: startsWith(matrix.os, 'windows')
95-
run: dotnet test --no-build --verbosity normal -c Release -f ${{ matrix.dotnet-framework }} --filter "DB!=SQLServer" /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[*.XUnit]*"
95+
run: dotnet test --no-build --verbosity normal -c Release -f ${{ matrix.dotnet-framework }} --filter "DB!=SQLServer"
9696

9797
summary:
9898
needs: build

0 commit comments

Comments
 (0)