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 072816d commit a5db4df
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,14 @@ jobs:
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet test -p:CollectCoverage=true -p:CoverletOutput=.github/tests/ -p:CoverletOutputFormat=opencover --no-build --verbosity normal
- name: Create Test Coverage Badge
uses: simon-k/[email protected]
id: create_coverage_badge
with:
label: Unit Test Coverage
color: brightgreen
path: ../../.github/tests/coverage.opencover.xml
gist-filename: sharpgram-coverage.json
gist-id: 7e37706c2cdef28ee452cd83721f6a3c
gist-auth-token: ${{ secrets.GIST_AUTH_TOKEN }}

0 comments on commit a5db4df

Please sign in to comment.