Skip to content

Commit

Permalink
Added Codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
apfohl committed Dec 29, 2023
1 parent 211a6e7 commit d79a629
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,11 @@ jobs:
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Test Debug
run: dotnet test -c Debug --no-restore --verbosity normal --collect:"XPlat Code Coverage"
- name: Test Release
run: dotnet test -c Release --no-restore --verbosity normal --collect:"XPlat Code Coverage"
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit d79a629

Please sign in to comment.