Skip to content

Commit

Permalink
Remove testing against .NET 7 (near end-of-life)
Browse files Browse the repository at this point in the history
.NET 7 reaches end-of-life on May 14, 2024:

https://dotnet.microsoft.com/en-us/download/dotnet/7.0
  • Loading branch information
atifaziz committed May 6, 2024
1 parent bd10cf9 commit 9a2cc9f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 11 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ jobs:
with:
global-json-file: global.json

- name: Setup .NET SDK 7.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x

- name: Setup .NET SDK 6.0
uses: actions/setup-dotnet@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion MoreLinq.Test/MoreLinq.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<AssemblyTitle>MoreLinq.Test</AssemblyTitle>
<TargetFrameworks>net8.0;net7.0;net6.0;net471</TargetFrameworks>
<TargetFrameworks>net8.0;net6.0;net471</TargetFrameworks>
<DebugType>portable</DebugType>
<AssemblyName>MoreLinq.Test</AssemblyName>
<OutputType Condition="'$(TargetFramework)' == 'net471'">Exe</OutputType>
Expand Down
2 changes: 0 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,8 @@ install:
- git reset --hard
- ps: if ($isWindows) { tools\dotnet-install.ps1 -JSonFile global.json }
- ps: if ($isWindows) { tools\dotnet-install.ps1 -Runtime dotnet -Version 6.0.11 -SkipNonVersionedFiles }
- ps: if ($isWindows) { tools\dotnet-install.ps1 -Runtime dotnet -Version 7.0.14 -SkipNonVersionedFiles }
- sh: ./tools/dotnet-install.sh --jsonfile global.json
- sh: ./tools/dotnet-install.sh --runtime dotnet --version 6.0.11 --skip-non-versioned-files
- sh: ./tools/dotnet-install.sh --runtime dotnet --version 7.0.14 --skip-non-versioned-files
- sh: export PATH="$HOME/.dotnet:$PATH"
before_build:
- dotnet --info
Expand Down
2 changes: 0 additions & 2 deletions test.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ if %SKIP_TEST_BUILD%==false call build || exit /b 1
call :clean ^
&& call :test net8.0 Debug ^
&& call :test net8.0 Release ^
&& call :test net7.0 Debug ^
&& call :test net7.0 Release ^
&& call :test net6.0 Debug ^
&& call :test net6.0 Release ^
&& call :test net471 Debug ^
Expand Down
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [[ -z "$1" ]]; then
else
configs="$1"
fi
for f in net6.0 net7.0 net8.0; do
for f in net6.0 net8.0; do
for c in $configs; do
dotnet test --no-build -c $c -f $f --settings MoreLinq.Test/coverlet.runsettings MoreLinq.Test
TEST_RESULTS_DIR="$(ls -dc MoreLinq.Test/TestResults/* | head -1)"
Expand Down

0 comments on commit 9a2cc9f

Please sign in to comment.