Skip to content
This repository has been archived by the owner on Jul 13, 2024. It is now read-only.

Commit

Permalink
Update buildPipeline.yml
Browse files Browse the repository at this point in the history
add codecov
  • Loading branch information
Mahdi-Shah authored Feb 17, 2024
1 parent 3c56c2c commit 093bb27
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/buildPipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,10 @@ jobs:
- name: Test
run: dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage"
working-directory: ./TDD

- name: Publish code coverage reports to codecove.io
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./**/coverage.cobertura.xml
fail_ci_if_error: true

0 comments on commit 093bb27

Please sign in to comment.