From 7043ba4c1372173adf7a9aa86b00988dc13cb72d Mon Sep 17 00:00:00 2001 From: Filip Staffa Date: Fri, 19 Jan 2024 14:18:27 +0100 Subject: [PATCH] specify test framework --- .github/workflows/dotnetcore.yml | 2 +- src/PostalCodes.UnitTests/PostalCodes.UnitTests.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 9d83a1a..de017fd 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -23,7 +23,7 @@ jobs: - name: Build with dotnet run: dotnet build --configuration Release /p:ContinuousIntegrationBuild=true - name: Test - run: dotnet test src/PostalCodes.UnitTests/PostalCodes.UnitTests.csproj + run: dotnet test src/PostalCodes.UnitTests/PostalCodes.UnitTests.csproj -f ${{ matrix.dotnet }} - name: Create nuget package run: dotnet pack . -p:PackageVersion=0.0.1-alpha -o out --no-build - name: Install dotnet-validate diff --git a/src/PostalCodes.UnitTests/PostalCodes.UnitTests.csproj b/src/PostalCodes.UnitTests/PostalCodes.UnitTests.csproj index cde3787..3f77af5 100644 --- a/src/PostalCodes.UnitTests/PostalCodes.UnitTests.csproj +++ b/src/PostalCodes.UnitTests/PostalCodes.UnitTests.csproj @@ -1,6 +1,6 @@  - netcoreapp2.1;net6.0;net8.0 + netcoreapp2.2;net6.0;net8.0