Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fic cover #11

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/dotnet-format-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
action: "fix"
workspace: "./src/CSharp/EasyMicroservices.Logger.sln"
workspace: "./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln"
- name: Test
run: dotnet test ./src/CSharp/EasyMicroservices.Logger.sln
run: dotnet test ./src/CSharp/EasyMicroservices.Logger/EasyMicroservices.Logger.sln
- name: Test to generate Code Coverage Report
working-directory: ./src/CSharp
working-directory: ./src/CSharp/EasyMicroservices.Logger
run: |
dotnet build ./EasyMicroservices.Logger.sln
dotnet tool install --global coverlet.console
coverlet EasyMicroservices.Logger.Tests/bin/Debug/net6.0/EasyMicroservices.Logger.Tests.dll --target "dotnet" --targetargs "test EasyMicroservices.Logger.Tests/bin/Debug/net6.0/EasyMicroservices.Logger.Tests.dll --no-build" -f opencover
- name: OpenCover Badge Generator
uses: danpetitt/[email protected]
with:
path-to-opencover-xml: ./src/CSharp/coverage.opencover.xml
path-to-badges: ./src/CSharp
path-to-opencover-xml: ./src/CSharp/EasyMicroservices.Logger/coverage.opencover.xml
path-to-badges: ./src/CSharp/EasyMicroservices.Logger
minimum-coverage: 50
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Commit files
Expand Down