-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c4de92c
commit 03685e3
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,12 +25,12 @@ jobs: | |
- name: Build | ||
run: dotnet build --no-restore -p:DeterministicSourcePaths=false -p:DebugType=pdbonly | ||
- name: Test | ||
run: dotnet test -p:CollectCoverage=true -p:CoverletOutput=testResult/ -p:CoverletOutputFormat=opencover --verbosity normal --no-build | ||
run: dotnet test -p:CollectCoverage=true -p:CoverletOutput=testResult/ -p:CoverletOutputFormat=opencover --no-build -p:Exclude=[*]*tests?*%2c[*]SharpGram.Tl.*%2c[*]SharpGram.Models.* -p:ExcludeByFile="*.g.*" -p:Include=[SharpGram.Client]*%2c[SharpGram.Core]* | ||
- name: Create Test Coverage Badge | ||
uses: simon-k/[email protected] | ||
id: create_coverage_badge | ||
with: | ||
label: Unit Test Coverage | ||
label: Test Coverage | ||
color: brightgreen | ||
path: Tests/SharpGram.Tests/testResult/coverage.opencover.xml | ||
gist-filename: sharpgram-coverage.json | ||
|