Skip to content

Commit

Permalink
updated pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
mizrael committed Jun 20, 2024
1 parent 00e665e commit 31120c2
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,19 @@ jobs:
- name: Test
run: |
cd ./src
dotnet test --no-build --verbosity normal
dotnet test --no-build --verbosity normal -s ../tests/tests.runsettings `
/p:CollectCoverage=true `
/p:CoverletOutput=../TestResults/ `
/p:MergeWith="../TestResults/coverage.json" `
/p:CoverletOutputFormat="opencover,json"
- name: Create Test Coverage Badge
uses: simon-k/dotnet-code-coverage-badge@v1.0.0
id: create_coverage_badge
with:
label: Unit Test Coverage
color: brightgreen
path: ./tests/TestResults/coverage.opencover.xml
gist-filename: eveniredb-code-coverage.json
gist-id: ebd585c5ad0069d0e8486e43cade5793
gist-auth-token: ${{ secrets.GIST_AUTH_TOKEN }}

0 comments on commit 31120c2

Please sign in to comment.