From fcff8431d0ab6d0056812d12fa60fc6d059eb098 Mon Sep 17 00:00:00 2001 From: Farshad DASHTI Date: Fri, 4 Oct 2024 15:52:11 +0100 Subject: [PATCH] Trigger --- .github/workflows/build-test-template.yml | 4 ++-- src/DfE.CoreLibs.Caching/ServiceCollectionExtensions.cs | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-test-template.yml b/.github/workflows/build-test-template.yml index 5a88638..7d9fab9 100644 --- a/.github/workflows/build-test-template.yml +++ b/.github/workflows/build-test-template.yml @@ -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 diff --git a/src/DfE.CoreLibs.Caching/ServiceCollectionExtensions.cs b/src/DfE.CoreLibs.Caching/ServiceCollectionExtensions.cs index c688d21..c5fcda9 100644 --- a/src/DfE.CoreLibs.Caching/ServiceCollectionExtensions.cs +++ b/src/DfE.CoreLibs.Caching/ServiceCollectionExtensions.cs @@ -16,4 +16,5 @@ public static IServiceCollection AddServiceCaching( return services; } } -} \ No newline at end of file +} +