From 6923f3e622b435f7dc744eefc1d500c0a77f774f Mon Sep 17 00:00:00 2001 From: Ivan Maximov Date: Sun, 1 Dec 2024 20:04:54 +0300 Subject: [PATCH] Revert "coverage" This reverts commit 8a6e98f807a31ce535092df0ca2e7b72ec1b1bb6. --- .github/workflows/ci.yml | 5 ----- Build.ps1 | 2 +- .../Serilog.Settings.Configuration.Tests.csproj | 4 ---- 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2942302..acd3bc6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,8 +39,3 @@ jobs: shell: pwsh run: | ./Build.ps1 - - name: Upload coverage to codecov - uses: codecov/codecov-action@v4 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: .coverage/*.opencover.xml diff --git a/Build.ps1 b/Build.ps1 index 33f4e51..33920c4 100644 --- a/Build.ps1 +++ b/Build.ps1 @@ -52,7 +52,7 @@ try { Write-Output "build: Testing project in $test" - & dotnet test -c Release --no-build --no-restore -p:CollectCoverage=true -p:CoverletOutputFormat=opencover -p:CoverletOutput=.coverage/ + & dotnet test -c Release --no-build --no-restore if ($LASTEXITCODE -ne 0) { throw "Testing failed" } Pop-Location diff --git a/test/Serilog.Settings.Configuration.Tests/Serilog.Settings.Configuration.Tests.csproj b/test/Serilog.Settings.Configuration.Tests/Serilog.Settings.Configuration.Tests.csproj index f6f5d71..d3ac6cc 100644 --- a/test/Serilog.Settings.Configuration.Tests/Serilog.Settings.Configuration.Tests.csproj +++ b/test/Serilog.Settings.Configuration.Tests/Serilog.Settings.Configuration.Tests.csproj @@ -30,10 +30,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive -