Skip to content

Commit

Permalink
Trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Farshad DASHTI authored and Farshad DASHTI committed Oct 4, 2024
1 parent d7c7d99 commit fcff843
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ jobs:
dotnet build --no-restore -p:CI=${CI} ${{ inputs.project_path }}
- name: Run Tests
if: ${{ inputs.run_tests }} == true
if: ${{ inputs.run_tests }}
run: dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage" ${{ inputs.project_path }}

- name: Generate Code Coverage Report
if: ${{ inputs.run_tests }} == true
if: ${{ inputs.run_tests }}
run: reportgenerator -reports:./**/coverage.cobertura.xml -targetdir:./CoverageReport -reporttypes:SonarQube

- name: Complete Sonar Scan
Expand Down
3 changes: 2 additions & 1 deletion src/DfE.CoreLibs.Caching/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ public static IServiceCollection AddServiceCaching(
return services;
}
}
}
}

0 comments on commit fcff843

Please sign in to comment.