1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-14 04:15:41 +00:00

Compare commits

..

1 Commits

Author SHA1 Message Date
Oliver Booth
8d6c37270b
Merge 8cdbfcfe0d into 29cd725b66 2024-02-17 15:31:29 +00:00

View File

@ -33,10 +33,8 @@ jobs:
- name: Restore dependencies
run: dotnet restore
- name: Install coverage tools
run: |
dotnet tool install --global JetBrains.dotCover.GlobalTool
dotnet tool install --global dotnet-reportgenerator-globaltool
- name: Install dotCover
run: dotnet tool install --global JetBrains.dotCover.GlobalTool
- name: Build
run: dotnet build --no-restore --configuration Release
@ -51,15 +49,10 @@ jobs:
run: dotnet test --no-build --verbosity normal --configuration Release --framework net8.0
- name: Collect coverage
run: dotnet dotcover test --dcReportType=DetailedXML
- name: Convert coverage
run: reportgenerator -reports:./dotCover.Output.xml -targetdir:. -reporttypes:Cobertura
run: dotnet dotcover test --dcReportType=XML
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.0
with:
disable_search: true
file: Cobertura.xml
token: ${{ secrets.CODECOV_TOKEN }}
slug: oliverbooth/X10D