From 09d0e7e63abd60d369370b82221a791c78061b40 Mon Sep 17 00:00:00 2001 From: Bhushan Lodha Date: Thu, 17 Jul 2025 10:53:37 +0530 Subject: [PATCH 01/14] feat: Add .NET version test matrix to CircleCI --- .circleci/config.yml | 47 +++++++++++++++++++++++++++++++++++--------- global.json | 3 ++- 2 files changed, 40 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 971e699..48b27b9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,16 +1,45 @@ -version: 2 +version: 2.1 + +orbs: + dotnet: circleci/dotnet@1.0 + jobs: - build: + test: + parameters: + dotnet-version: + type: string docker: - - image: mcr.microsoft.com/dotnet/sdk:6.0 + - image: mcr.microsoft.com/dotnet/sdk:<< parameters.dotnet-version >> steps: - - run: apt-get update && apt-get install -y ssh git - checkout + - run: + name: Install dependencies + command: | + apt-get update && apt-get install -y ssh git + - run: + name: Restore dependencies + command: dotnet restore - run: name: Build - command: dotnet build + command: dotnet build --no-restore - run: - name: Unit tests - command: | - dotnet test Contentful.AspNetCore.Tests - dotnet test Contentful.Core.Tests + name: Run Contentful.Core tests + command: dotnet test Contentful.Core.Tests/Contentful.Core.Tests.csproj --no-build --verbosity normal + - run: + name: Run Contentful.AspNetCore tests + command: dotnet test Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj --no-build --verbosity normal + - store_test_results: + path: test-results + - store_artifacts: + path: test-results + destination: test-results + +workflows: + version: 2 + test-matrix: + jobs: + - test: + matrix: + parameters: + dotnet-version: ["6.0", "7.0", "8.0"] + name: test-dotnet-<< matrix.dotnet-version >> diff --git a/global.json b/global.json index eaeb84d..7da2763 100644 --- a/global.json +++ b/global.json @@ -1,5 +1,6 @@ { "sdk": { - "version": "6.0.428" + "version": "8.0.100", + "rollForward": "latestMajor" } } \ No newline at end of file From 16309fe512dff92f9c6c8819bf5e21db50eddda0 Mon Sep 17 00:00:00 2001 From: Bhushan Lodha Date: Thu, 17 Jul 2025 10:55:49 +0530 Subject: [PATCH 02/14] feat: Add .NET version test matrix to CircleCI --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 48b27b9..55afbed 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -41,5 +41,5 @@ workflows: - test: matrix: parameters: - dotnet-version: ["6.0", "7.0", "8.0"] + dotnet-version: ["8.0", "9.0"] name: test-dotnet-<< matrix.dotnet-version >> From d3c9b4d8a95fe7f31ade80648d450bf8a089c7f6 Mon Sep 17 00:00:00 2001 From: Bhushan Lodha Date: Fri, 18 Jul 2025 10:40:46 +0530 Subject: [PATCH 03/14] remove orb --- .circleci/config.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 55afbed..c9cb618 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,8 +1,5 @@ version: 2.1 -orbs: - dotnet: circleci/dotnet@1.0 - jobs: test: parameters: From e16003462bef58966a6196964973ca9b78b2631b Mon Sep 17 00:00:00 2001 From: Bhushan Lodha Date: Mon, 21 Jul 2025 09:02:03 +0530 Subject: [PATCH 04/14] Fix CircleCI config --- Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj b/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj index 5840a9f..8b1d80c 100644 --- a/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj +++ b/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 From 101450e8d3fbaf56887354292beec7d85f95efec Mon Sep 17 00:00:00 2001 From: Bhushan Lodha Date: Mon, 21 Jul 2025 09:17:39 +0530 Subject: [PATCH 05/14] Update Contentful.Core.Tests to target .NET 8.0 for compatibility --- Contentful.Core.Tests/Contentful.Core.Tests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contentful.Core.Tests/Contentful.Core.Tests.csproj b/Contentful.Core.Tests/Contentful.Core.Tests.csproj index 5c6bcf4..d5ed1bd 100644 --- a/Contentful.Core.Tests/Contentful.Core.Tests.csproj +++ b/Contentful.Core.Tests/Contentful.Core.Tests.csproj @@ -1,7 +1,7 @@  Exe - net6.0 + net8.0 From 6cbcd7eb761b1d68716cf9d15985ceec8e64811f Mon Sep 17 00:00:00 2001 From: Bhushan Lodha Date: Mon, 21 Jul 2025 09:33:54 +0530 Subject: [PATCH 06/14] Add multi-targeting support for .NET 8 and 9 in test projects --- .circleci/config.yml | 7 +++++-- .../Contentful.AspNetCore.Tests.csproj | 2 +- Contentful.Core.Tests/Contentful.Core.Tests.csproj | 2 +- global.json | 3 +++ 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c9cb618..0f91f7f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,6 +13,9 @@ jobs: name: Install dependencies command: | apt-get update && apt-get install -y ssh git + - run: + name: Show .NET version + command: dotnet --version - run: name: Restore dependencies command: dotnet restore @@ -21,10 +24,10 @@ jobs: command: dotnet build --no-restore - run: name: Run Contentful.Core tests - command: dotnet test Contentful.Core.Tests/Contentful.Core.Tests.csproj --no-build --verbosity normal + command: dotnet test Contentful.Core.Tests/Contentful.Core.Tests.csproj --no-build --verbosity normal --logger trx --results-directory test-results - run: name: Run Contentful.AspNetCore tests - command: dotnet test Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj --no-build --verbosity normal + command: dotnet test Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj --no-build --verbosity normal --logger trx --results-directory test-results - store_test_results: path: test-results - store_artifacts: diff --git a/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj b/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj index 8b1d80c..549259b 100644 --- a/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj +++ b/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj @@ -1,7 +1,7 @@  - net8.0 + net8.0;net9.0 diff --git a/Contentful.Core.Tests/Contentful.Core.Tests.csproj b/Contentful.Core.Tests/Contentful.Core.Tests.csproj index d5ed1bd..7a957d2 100644 --- a/Contentful.Core.Tests/Contentful.Core.Tests.csproj +++ b/Contentful.Core.Tests/Contentful.Core.Tests.csproj @@ -1,7 +1,7 @@  Exe - net8.0 + net8.0;net9.0 diff --git a/global.json b/global.json index 7da2763..4b6bdf2 100644 --- a/global.json +++ b/global.json @@ -2,5 +2,8 @@ "sdk": { "version": "8.0.100", "rollForward": "latestMajor" + }, + "msbuild-sdks": { + "Microsoft.NET.Sdk": "8.0.100" } } \ No newline at end of file From 97c608ce20bd1893b0bf8fe85a22a7a3ab12de80 Mon Sep 17 00:00:00 2001 From: Bhushan Lodha Date: Mon, 21 Jul 2025 09:39:06 +0530 Subject: [PATCH 07/14] Fix CircleCI .NET version matrix to use specific SDK versions --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0f91f7f..29f0418 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -41,5 +41,5 @@ workflows: - test: matrix: parameters: - dotnet-version: ["8.0", "9.0"] + dotnet-version: ["8.0.412", "9.0.100"] name: test-dotnet-<< matrix.dotnet-version >> From 24be3ceb5b4660c53918d435a00cfd4ac8336745 Mon Sep 17 00:00:00 2001 From: Bhushan Lodha Date: Mon, 21 Jul 2025 09:48:14 +0530 Subject: [PATCH 08/14] Fix CircleCI to build and test specific .NET framework versions --- .circleci/config.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 29f0418..e74d510 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ jobs: dotnet-version: type: string docker: - - image: mcr.microsoft.com/dotnet/sdk:<< parameters.dotnet-version >> + - image: mcr.microsoft.com/dotnet/sdk:<< parameters.dotnet-version >>-latest steps: - checkout - run: @@ -20,14 +20,11 @@ jobs: name: Restore dependencies command: dotnet restore - run: - name: Build - command: dotnet build --no-restore - - run: - name: Run Contentful.Core tests - command: dotnet test Contentful.Core.Tests/Contentful.Core.Tests.csproj --no-build --verbosity normal --logger trx --results-directory test-results - - run: - name: Run Contentful.AspNetCore tests - command: dotnet test Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj --no-build --verbosity normal --logger trx --results-directory test-results + name: Build and test .NET << parameters.dotnet-version >> + command: | + dotnet build --no-restore --framework net<< parameters.dotnet-version >> + dotnet test Contentful.Core.Tests/Contentful.Core.Tests.csproj --no-build --framework net<< parameters.dotnet-version >> --verbosity normal --logger trx --results-directory test-results + dotnet test Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj --no-build --framework net<< parameters.dotnet-version >> --verbosity normal --logger trx --results-directory test-results - store_test_results: path: test-results - store_artifacts: @@ -41,5 +38,5 @@ workflows: - test: matrix: parameters: - dotnet-version: ["8.0.412", "9.0.100"] + dotnet-version: ["8.0", "9.0"] name: test-dotnet-<< matrix.dotnet-version >> From 49f2921b29d10ddd53f703ecd338b3a7d1f0b776 Mon Sep 17 00:00:00 2001 From: Bhushan Lodha Date: Mon, 21 Jul 2025 09:49:52 +0530 Subject: [PATCH 09/14] Fix Docker image tags and framework version extraction in CircleCI --- .circleci/config.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e74d510..ad2f451 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ jobs: dotnet-version: type: string docker: - - image: mcr.microsoft.com/dotnet/sdk:<< parameters.dotnet-version >>-latest + - image: mcr.microsoft.com/dotnet/sdk:<< parameters.dotnet-version >> steps: - checkout - run: @@ -22,9 +22,10 @@ jobs: - run: name: Build and test .NET << parameters.dotnet-version >> command: | - dotnet build --no-restore --framework net<< parameters.dotnet-version >> - dotnet test Contentful.Core.Tests/Contentful.Core.Tests.csproj --no-build --framework net<< parameters.dotnet-version >> --verbosity normal --logger trx --results-directory test-results - dotnet test Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj --no-build --framework net<< parameters.dotnet-version >> --verbosity normal --logger trx --results-directory test-results + FRAMEWORK_VERSION=$(echo << parameters.dotnet-version >> | cut -d. -f1,2) + dotnet build --no-restore --framework net$FRAMEWORK_VERSION + dotnet test Contentful.Core.Tests/Contentful.Core.Tests.csproj --no-build --framework net$FRAMEWORK_VERSION --verbosity normal --logger trx --results-directory test-results + dotnet test Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj --no-build --framework net$FRAMEWORK_VERSION --verbosity normal --logger trx --results-directory test-results - store_test_results: path: test-results - store_artifacts: @@ -38,5 +39,5 @@ workflows: - test: matrix: parameters: - dotnet-version: ["8.0", "9.0"] + dotnet-version: ["8.0.412", "9.0.100"] name: test-dotnet-<< matrix.dotnet-version >> From 3bac352082f9e9087d58c5201a09a468c6800964 Mon Sep 17 00:00:00 2001 From: Bhushan Lodha Date: Fri, 25 Jul 2025 10:12:25 +0530 Subject: [PATCH 10/14] revert changes --- .../Contentful.AspNetCore.Tests.csproj | 42 +-- .../Contentful.Core.Tests.csproj | 318 +++++++++--------- 2 files changed, 180 insertions(+), 180 deletions(-) diff --git a/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj b/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj index 549259b..ca6b5d1 100644 --- a/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj +++ b/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj @@ -1,27 +1,27 @@  - - net8.0;net9.0 - + + net8.0 + - - - - - - - - all - runtime; build; native; contentfiles; analyzers - - + + + + + + + + all + runtime; build; native; contentfiles; analyzers + + - - - + + + - - - + + + - + \ No newline at end of file diff --git a/Contentful.Core.Tests/Contentful.Core.Tests.csproj b/Contentful.Core.Tests/Contentful.Core.Tests.csproj index 7a957d2..284e8f5 100644 --- a/Contentful.Core.Tests/Contentful.Core.Tests.csproj +++ b/Contentful.Core.Tests/Contentful.Core.Tests.csproj @@ -1,163 +1,163 @@  - - Exe - net8.0;net9.0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + Exe + net8.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - 17.2.0 - - - 2.4.1 - - - 2.4.1 - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - 2.4.5 - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - - - - - + + + + 17.2.0 + + + 2.4.1 + + + 2.4.1 + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + 2.4.5 + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + + + + + \ No newline at end of file From 04f79b37a02673871fa5127e5e63e99e3bd79b93 Mon Sep 17 00:00:00 2001 From: Bhushan Lodha Date: Fri, 25 Jul 2025 10:36:35 +0530 Subject: [PATCH 11/14] Fix CircleCI build for .NET 8.0 and 9.0 matrix testing --- .circleci/config.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ad2f451..15b236a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,7 +23,12 @@ jobs: name: Build and test .NET << parameters.dotnet-version >> command: | FRAMEWORK_VERSION=$(echo << parameters.dotnet-version >> | cut -d. -f1,2) - dotnet build --no-restore --framework net$FRAMEWORK_VERSION + # Build the library projects (they target netstandard2.0) + dotnet build Contentful.Core/Contentful.Core.csproj --no-restore + dotnet build Contentful.AspNetCore/Contentful.AspNetCore.csproj --no-restore + # Build and test the test projects for the specific .NET version + dotnet build Contentful.Core.Tests/Contentful.Core.Tests.csproj --no-restore --framework net$FRAMEWORK_VERSION + dotnet build Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj --no-restore --framework net$FRAMEWORK_VERSION dotnet test Contentful.Core.Tests/Contentful.Core.Tests.csproj --no-build --framework net$FRAMEWORK_VERSION --verbosity normal --logger trx --results-directory test-results dotnet test Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj --no-build --framework net$FRAMEWORK_VERSION --verbosity normal --logger trx --results-directory test-results - store_test_results: From 2f95e867f919377d8f727365a6cbe6bd95e0abce Mon Sep 17 00:00:00 2001 From: Bhushan Lodha Date: Fri, 25 Jul 2025 10:41:17 +0530 Subject: [PATCH 12/14] Add .NET 9.0 support to test projects --- Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj | 2 +- Contentful.Core.Tests/Contentful.Core.Tests.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj b/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj index ca6b5d1..5a558ed 100644 --- a/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj +++ b/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj @@ -1,7 +1,7 @@  - net8.0 + net8.0;net9.0 diff --git a/Contentful.Core.Tests/Contentful.Core.Tests.csproj b/Contentful.Core.Tests/Contentful.Core.Tests.csproj index 284e8f5..8b723af 100644 --- a/Contentful.Core.Tests/Contentful.Core.Tests.csproj +++ b/Contentful.Core.Tests/Contentful.Core.Tests.csproj @@ -1,7 +1,7 @@  Exe - net8.0 + net8.0;net9.0 From de597ccd9efabd283492a84d031d1de95d6aa55c Mon Sep 17 00:00:00 2001 From: Bhushan Lodha Date: Fri, 25 Jul 2025 10:48:11 +0530 Subject: [PATCH 13/14] Fix CircleCI to dynamically set target framework based on .NET version --- .circleci/config.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 15b236a..66c8320 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,11 +26,14 @@ jobs: # Build the library projects (they target netstandard2.0) dotnet build Contentful.Core/Contentful.Core.csproj --no-restore dotnet build Contentful.AspNetCore/Contentful.AspNetCore.csproj --no-restore - # Build and test the test projects for the specific .NET version - dotnet build Contentful.Core.Tests/Contentful.Core.Tests.csproj --no-restore --framework net$FRAMEWORK_VERSION - dotnet build Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj --no-restore --framework net$FRAMEWORK_VERSION - dotnet test Contentful.Core.Tests/Contentful.Core.Tests.csproj --no-build --framework net$FRAMEWORK_VERSION --verbosity normal --logger trx --results-directory test-results - dotnet test Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj --no-build --framework net$FRAMEWORK_VERSION --verbosity normal --logger trx --results-directory test-results + # Temporarily update test project files to target the current .NET version + sed -i "s/net8.0<\/TargetFramework>/net$FRAMEWORK_VERSION<\/TargetFramework>/g" Contentful.Core.Tests/Contentful.Core.Tests.csproj + sed -i "s/net8.0<\/TargetFramework>/net$FRAMEWORK_VERSION<\/TargetFramework>/g" Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj + # Build and test the test projects + dotnet build Contentful.Core.Tests/Contentful.Core.Tests.csproj --no-restore + dotnet build Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj --no-restore + dotnet test Contentful.Core.Tests/Contentful.Core.Tests.csproj --no-build --verbosity normal --logger trx --results-directory test-results + dotnet test Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj --no-build --verbosity normal --logger trx --results-directory test-results - store_test_results: path: test-results - store_artifacts: From e9bb04aad76a3b35aabe70c1f58a5730e5664175 Mon Sep 17 00:00:00 2001 From: Bhushan Lodha Date: Fri, 25 Jul 2025 10:53:23 +0530 Subject: [PATCH 14/14] Add separate .NET 9.0 project files for CI matrix testing --- .circleci/config.yml | 20 ++- .../Contentful.AspNetCore.Tests.csproj | 2 +- .../Contentful.AspNetCore.Tests.net9.0.csproj | 27 +++ .../Contentful.Core.Tests.csproj | 2 +- .../Contentful.Core.Tests.net9.0.csproj | 163 ++++++++++++++++++ 5 files changed, 204 insertions(+), 10 deletions(-) create mode 100644 Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.net9.0.csproj create mode 100644 Contentful.Core.Tests/Contentful.Core.Tests.net9.0.csproj diff --git a/.circleci/config.yml b/.circleci/config.yml index 66c8320..83cfd2c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,14 +26,18 @@ jobs: # Build the library projects (they target netstandard2.0) dotnet build Contentful.Core/Contentful.Core.csproj --no-restore dotnet build Contentful.AspNetCore/Contentful.AspNetCore.csproj --no-restore - # Temporarily update test project files to target the current .NET version - sed -i "s/net8.0<\/TargetFramework>/net$FRAMEWORK_VERSION<\/TargetFramework>/g" Contentful.Core.Tests/Contentful.Core.Tests.csproj - sed -i "s/net8.0<\/TargetFramework>/net$FRAMEWORK_VERSION<\/TargetFramework>/g" Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj - # Build and test the test projects - dotnet build Contentful.Core.Tests/Contentful.Core.Tests.csproj --no-restore - dotnet build Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj --no-restore - dotnet test Contentful.Core.Tests/Contentful.Core.Tests.csproj --no-build --verbosity normal --logger trx --results-directory test-results - dotnet test Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj --no-build --verbosity normal --logger trx --results-directory test-results + # Build and test the test projects for the specific .NET version + if [ "$FRAMEWORK_VERSION" = "9.0" ]; then + dotnet build Contentful.Core.Tests/Contentful.Core.Tests.net9.0.csproj --no-restore + dotnet build Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.net9.0.csproj --no-restore + dotnet test Contentful.Core.Tests/Contentful.Core.Tests.net9.0.csproj --no-build --verbosity normal --logger trx --results-directory test-results + dotnet test Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.net9.0.csproj --no-build --verbosity normal --logger trx --results-directory test-results + else + dotnet build Contentful.Core.Tests/Contentful.Core.Tests.csproj --no-restore + dotnet build Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj --no-restore + dotnet test Contentful.Core.Tests/Contentful.Core.Tests.csproj --no-build --verbosity normal --logger trx --results-directory test-results + dotnet test Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj --no-build --verbosity normal --logger trx --results-directory test-results + fi - store_test_results: path: test-results - store_artifacts: diff --git a/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj b/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj index 5a558ed..ca6b5d1 100644 --- a/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj +++ b/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.csproj @@ -1,7 +1,7 @@  - net8.0;net9.0 + net8.0 diff --git a/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.net9.0.csproj b/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.net9.0.csproj new file mode 100644 index 0000000..5b28312 --- /dev/null +++ b/Contentful.AspNetCore.Tests/Contentful.AspNetCore.Tests.net9.0.csproj @@ -0,0 +1,27 @@ + + + + net9.0 + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers + + + + + + + + + + + + \ No newline at end of file diff --git a/Contentful.Core.Tests/Contentful.Core.Tests.csproj b/Contentful.Core.Tests/Contentful.Core.Tests.csproj index 8b723af..284e8f5 100644 --- a/Contentful.Core.Tests/Contentful.Core.Tests.csproj +++ b/Contentful.Core.Tests/Contentful.Core.Tests.csproj @@ -1,7 +1,7 @@  Exe - net8.0;net9.0 + net8.0 diff --git a/Contentful.Core.Tests/Contentful.Core.Tests.net9.0.csproj b/Contentful.Core.Tests/Contentful.Core.Tests.net9.0.csproj new file mode 100644 index 0000000..5c38817 --- /dev/null +++ b/Contentful.Core.Tests/Contentful.Core.Tests.net9.0.csproj @@ -0,0 +1,163 @@ + + + Exe + net9.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 17.2.0 + + + 2.4.1 + + + 2.4.1 + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + 2.4.5 + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + + + + + + \ No newline at end of file