Skip to content

Commit 9a2cc9f

Browse files
authored
Remove testing against .NET 7 (near end-of-life)
.NET 7 reaches end-of-life on May 14, 2024: https://dotnet.microsoft.com/en-us/download/dotnet/7.0
1 parent bd10cf9 commit 9a2cc9f

File tree

5 files changed

+2
-11
lines changed

5 files changed

+2
-11
lines changed

.github/workflows/build.yml

-5
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@ jobs:
5858
with:
5959
global-json-file: global.json
6060

61-
- name: Setup .NET SDK 7.0
62-
uses: actions/setup-dotnet@v3
63-
with:
64-
dotnet-version: 7.0.x
65-
6661
- name: Setup .NET SDK 6.0
6762
uses: actions/setup-dotnet@v3
6863
with:

MoreLinq.Test/MoreLinq.Test.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<AssemblyTitle>MoreLinq.Test</AssemblyTitle>
5-
<TargetFrameworks>net8.0;net7.0;net6.0;net471</TargetFrameworks>
5+
<TargetFrameworks>net8.0;net6.0;net471</TargetFrameworks>
66
<DebugType>portable</DebugType>
77
<AssemblyName>MoreLinq.Test</AssemblyName>
88
<OutputType Condition="'$(TargetFramework)' == 'net471'">Exe</OutputType>

appveyor.yml

-2
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,8 @@ install:
5252
- git reset --hard
5353
- ps: if ($isWindows) { tools\dotnet-install.ps1 -JSonFile global.json }
5454
- ps: if ($isWindows) { tools\dotnet-install.ps1 -Runtime dotnet -Version 6.0.11 -SkipNonVersionedFiles }
55-
- ps: if ($isWindows) { tools\dotnet-install.ps1 -Runtime dotnet -Version 7.0.14 -SkipNonVersionedFiles }
5655
- sh: ./tools/dotnet-install.sh --jsonfile global.json
5756
- sh: ./tools/dotnet-install.sh --runtime dotnet --version 6.0.11 --skip-non-versioned-files
58-
- sh: ./tools/dotnet-install.sh --runtime dotnet --version 7.0.14 --skip-non-versioned-files
5957
- sh: export PATH="$HOME/.dotnet:$PATH"
6058
before_build:
6159
- dotnet --info

test.cmd

-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ if %SKIP_TEST_BUILD%==false call build || exit /b 1
1010
call :clean ^
1111
&& call :test net8.0 Debug ^
1212
&& call :test net8.0 Release ^
13-
&& call :test net7.0 Debug ^
14-
&& call :test net7.0 Release ^
1513
&& call :test net6.0 Debug ^
1614
&& call :test net6.0 Release ^
1715
&& call :test net471 Debug ^

test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if [[ -z "$1" ]]; then
1212
else
1313
configs="$1"
1414
fi
15-
for f in net6.0 net7.0 net8.0; do
15+
for f in net6.0 net8.0; do
1616
for c in $configs; do
1717
dotnet test --no-build -c $c -f $f --settings MoreLinq.Test/coverlet.runsettings MoreLinq.Test
1818
TEST_RESULTS_DIR="$(ls -dc MoreLinq.Test/TestResults/* | head -1)"

0 commit comments

Comments
 (0)