Skip to content

Commit

Permalink
Merge branch 'release/4.0.0' into feature/generic_math
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbooth committed Feb 17, 2024
2 parents 8cdbfcf + 6501162 commit 69f0fa7
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ jobs:
- name: Restore dependencies
run: dotnet restore

- name: Install dotCover
run: dotnet tool install --global JetBrains.dotCover.GlobalTool
- name: Install coverage tools
run: |
dotnet tool install --global JetBrains.dotCover.GlobalTool
dotnet tool install --global dotnet-reportgenerator-globaltool
- name: Build
run: dotnet build --no-restore --configuration Release
Expand All @@ -49,10 +51,15 @@ jobs:
run: dotnet test --no-build --verbosity normal --configuration Release --framework net8.0

- name: Collect coverage
run: dotnet dotcover test --dcReportType=XML
run: dotnet dotcover test --dcReportType=DetailedXML

- name: Convert coverage
run: reportgenerator -reports:./dotCover.Output.xml -targetdir:. -reporttypes:Cobertura

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
disable_search: true
file: Cobertura.xml
token: ${{ secrets.CODECOV_TOKEN }}
slug: oliverbooth/X10D

0 comments on commit 69f0fa7

Please sign in to comment.