-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci skip] ci: switch to codecov for coverage
- Loading branch information
1 parent
52c85f3
commit ac82200
Showing
4 changed files
with
18 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,11 @@ jobs: | |
- name: Restore dependencies | ||
run: dotnet restore | ||
|
||
- name: Install dotCover | ||
shell: powershell | ||
run: | | ||
dotnet tool install --global JetBrains.dotCover.GlobalTool | ||
- name: Build | ||
run: dotnet build --no-restore --configuration Release | ||
|
||
|
@@ -44,3 +49,15 @@ jobs: | |
|
||
- name: Test .NET 7 | ||
run: dotnet test --no-build --verbosity normal --configuration Release --framework net7.0 | ||
|
||
- name: Test .NET 8 | ||
run: dotnet test --no-build --verbosity normal --configuration Release --framework net8.0 | ||
|
||
- name: Collect coverage | ||
run: dotnet dotcover test --dcReportType=HTML | ||
|
||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
env: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
slug: oliverbooth/X10D |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters