From 86b9d89d9049f71f3daeada3505cc5806c5bc912 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Fri, 20 Dec 2024 02:37:14 +0100 Subject: [PATCH 1/5] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 636bb2c0..25fefcac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: run: dotnet build Parse.sln --configuration Debug --no-restore - name: Run tests with coverage run: | - OpenCover.Console.exe -target:dotnet.exe -targetargs:"test --framework net${{ matrix.DOTNET_VERSION }} --configuration Debug --test-adapter-path:. --logger:console /p:DebugType=full .\Parse.Tests\Parse.Tests.csproj" -filter:"+[Parse*]* -[Parse.Tests*]*" -oldstyle -output:parse_sdk_dotnet_coverage.xml -register:user + OpenCover.Console.exe -returntargetcode -target:dotnet.exe -targetargs:"test --framework net${{ matrix.DOTNET_VERSION }} --configuration Debug --test-adapter-path:. --logger:console /p:DebugType=full .\Parse.Tests\Parse.Tests.csproj" -filter:"+[Parse*]* -[Parse.Tests*]*" -oldstyle -output:parse_sdk_dotnet_coverage.xml -register:user - name: Upload code coverage uses: codecov/codecov-action@v4 with: From 6b9bdffef4a2749a38df8dc7e78e7c3317cd142d Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Fri, 20 Dec 2024 02:40:43 +0100 Subject: [PATCH 2/5] Update ci.yml --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 25fefcac..bf2aea8f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,7 @@ jobs: fail-fast: false name: .NET ${{ matrix.DOTNET_VERSION }} runs-on: windows-latest + timeout-minutes: 30 steps: - name: Checkout repository uses: actions/checkout@v4 From 4320445b6a2c195957ecd2f1e4e1fd3ee454156b Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Fri, 20 Dec 2024 02:45:27 +0100 Subject: [PATCH 3/5] Update Parse.Tests.csproj --- Parse.Tests/Parse.Tests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parse.Tests/Parse.Tests.csproj b/Parse.Tests/Parse.Tests.csproj index ace87ae1..97b9c6ae 100644 --- a/Parse.Tests/Parse.Tests.csproj +++ b/Parse.Tests/Parse.Tests.csproj @@ -1,6 +1,6 @@ - net6.0 + net6.0;net7.0;net8.0;net9.0 false latest From e215aab64b9fec3e1038790bd581f545b153caf9 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Fri, 20 Dec 2024 03:01:47 +0100 Subject: [PATCH 4/5] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf2aea8f..2b5edbf5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: with: args: 'install opencover.portable codecov -y' - name: Build - run: dotnet build Parse.sln --configuration Debug --no-restore + run: dotnet build Parse.sln --configuration Debug --no-restore /p:DebugType=full /p:GenerateFullPaths=true - name: Run tests with coverage run: | OpenCover.Console.exe -returntargetcode -target:dotnet.exe -targetargs:"test --framework net${{ matrix.DOTNET_VERSION }} --configuration Debug --test-adapter-path:. --logger:console /p:DebugType=full .\Parse.Tests\Parse.Tests.csproj" -filter:"+[Parse*]* -[Parse.Tests*]*" -oldstyle -output:parse_sdk_dotnet_coverage.xml -register:user From 4aa58510fa59e69d2befdb716d8980d06f22ebab Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Fri, 20 Dec 2024 03:07:56 +0100 Subject: [PATCH 5/5] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b5edbf5..4a677f2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: with: args: 'install opencover.portable codecov -y' - name: Build - run: dotnet build Parse.sln --configuration Debug --no-restore /p:DebugType=full /p:GenerateFullPaths=true + run: dotnet build Parse.sln --configuration Debug --no-restore /p:DebugType=full /p:GenerateFullPaths=true /p:CollectCoverage=false - name: Run tests with coverage run: | OpenCover.Console.exe -returntargetcode -target:dotnet.exe -targetargs:"test --framework net${{ matrix.DOTNET_VERSION }} --configuration Debug --test-adapter-path:. --logger:console /p:DebugType=full .\Parse.Tests\Parse.Tests.csproj" -filter:"+[Parse*]* -[Parse.Tests*]*" -oldstyle -output:parse_sdk_dotnet_coverage.xml -register:user