From ff097e6648bc0efc490bb885bb0902838ac399b4 Mon Sep 17 00:00:00 2001 From: Ali Yousefi Date: Wed, 18 Oct 2023 19:30:24 +0330 Subject: [PATCH] fic cover --- .github/workflows/dotnet-format-action.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dotnet-format-action.yml b/.github/workflows/dotnet-format-action.yml index f8f365f..16dfba7 100644 --- a/.github/workflows/dotnet-format-action.yml +++ b/.github/workflows/dotnet-format-action.yml @@ -21,11 +21,11 @@ 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 @@ -33,8 +33,8 @@ jobs: - name: OpenCover Badge Generator uses: danpetitt/open-cover-badge-generator-action@v1.0.9 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