Skip to content

Commit

Permalink
Update build_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAliSalehi authored Sep 30, 2024
1 parent c4de92c commit 03685e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 03685e3

Please sign in to comment.