From eba66d08784254636fb42006148cec914834dc5a Mon Sep 17 00:00:00 2001 From: Tyrrrz Date: Wed, 11 Nov 2020 01:17:55 +0200 Subject: [PATCH] Simplify coverage collection --- .github/workflows/CI.yml | 7 ------- .gitignore | 5 ++++- CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj | 1 - CliFx.Tests/CliFx.Tests.csproj | 1 - 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0e02e0a..56cb30c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -26,10 +26,3 @@ jobs: uses: codecov/codecov-action@v1.0.5 with: token: ${{ secrets.CODECOV_TOKEN }} - file: CliFx.Tests/bin/Release/Coverage.xml - - - name: Upload coverage (analyzers) - uses: codecov/codecov-action@v1.0.5 - with: - token: ${{ secrets.CODECOV_TOKEN }} - file: CliFx.Analyzers.Tests/bin/Release/Coverage.xml diff --git a/.gitignore b/.gitignore index e0b77ae..6b3a513 100644 --- a/.gitignore +++ b/.gitignore @@ -338,4 +338,7 @@ ASALocalRun/ .localhistory/ # BeatPulse healthcheck temp database -healthchecksdb \ No newline at end of file +healthchecksdb + +# Coverage +*.opencover.xml \ No newline at end of file diff --git a/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj b/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj index 90f5ce1..60e05d6 100644 --- a/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj +++ b/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj @@ -7,7 +7,6 @@ true true opencover - bin/$(Configuration)/Coverage.xml diff --git a/CliFx.Tests/CliFx.Tests.csproj b/CliFx.Tests/CliFx.Tests.csproj index 29a84f1..a4abc2f 100644 --- a/CliFx.Tests/CliFx.Tests.csproj +++ b/CliFx.Tests/CliFx.Tests.csproj @@ -7,7 +7,6 @@ true true opencover - bin/$(Configuration)/Coverage.xml