mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-14 04:15:41 +00:00
Compare commits
3 Commits
8af0c3ddda
...
39ccc63862
Author | SHA1 | Date | |
---|---|---|---|
|
39ccc63862 | ||
6501162857 | |||
39773a56c3 |
13
.github/workflows/dotnet.yml
vendored
13
.github/workflows/dotnet.yml
vendored
@ -33,8 +33,10 @@ jobs:
|
|||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
|
|
||||||
- name: Install dotCover
|
- name: Install coverage tools
|
||||||
run: dotnet tool install --global JetBrains.dotCover.GlobalTool
|
run: |
|
||||||
|
dotnet tool install --global JetBrains.dotCover.GlobalTool
|
||||||
|
dotnet tool install --global dotnet-reportgenerator-globaltool
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: dotnet build --no-restore --configuration Release
|
run: dotnet build --no-restore --configuration Release
|
||||||
@ -49,10 +51,15 @@ jobs:
|
|||||||
run: dotnet test --no-build --verbosity normal --configuration Release --framework net8.0
|
run: dotnet test --no-build --verbosity normal --configuration Release --framework net8.0
|
||||||
|
|
||||||
- name: Collect coverage
|
- 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
|
- name: Upload coverage reports to Codecov
|
||||||
uses: codecov/codecov-action@v4.0.0
|
uses: codecov/codecov-action@v4.0.0
|
||||||
with:
|
with:
|
||||||
|
disable_search: true
|
||||||
|
file: Cobertura.xml
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
slug: oliverbooth/X10D
|
slug: oliverbooth/X10D
|
||||||
|
Loading…
Reference in New Issue
Block a user