From 8f3aad8997ce252b12d12b49bb98a1aeb8eaf6ef Mon Sep 17 00:00:00 2001 From: Stepami Date: Sun, 28 Jul 2024 21:39:55 +0300 Subject: [PATCH] change ci cd setup --- .github/workflows/develop.yml | 2 +- tests/HydraScript.Tests/HydraScript.Tests.csproj | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 53c4474..6ed212f 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -37,7 +37,7 @@ jobs: run: dotnet build --no-restore -c Release -v n - name: Unit Tests run: | - dotnet test -c Release --no-build -v n --filter="Category=Unit" + dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --no-build -v n --filter="Category=Unit" mkdir coverage-report - name: Code Coverage Summary Report For Merge Request if: github.event_name == 'pull_request_target' diff --git a/tests/HydraScript.Tests/HydraScript.Tests.csproj b/tests/HydraScript.Tests/HydraScript.Tests.csproj index ea1555a..0b82692 100644 --- a/tests/HydraScript.Tests/HydraScript.Tests.csproj +++ b/tests/HydraScript.Tests/HydraScript.Tests.csproj @@ -8,11 +8,6 @@ false true - - - true - cobertura -