@@ -13,17 +13,23 @@ jobs:
1313 matrix :
1414 os : [windows-latest]
1515 # dotnet-version: [ '3.1.x', '5.0.x', '6.0.x', '7.0.x' ]
16- dotnet-version : [ '7 .0.x' ]
16+ dotnet-version : [ '8 .0.x' ]
1717 steps :
18+ - name : Install .NET Framework 4.0 Developer Pack
19+ run : |
20+ Invoke-WebRequest -Uri "https://download.microsoft.com/download/1/5/7/157F3F3E-3E3B-4F6E-9F3C-3D3E3F3E3F3E/NDP40-DevPack-KB2600211-x86-x64.exe" -OutFile "ndp40.exe"
21+ Start-Process -FilePath "ndp40.exe" -ArgumentList "/quiet" -Wait
22+
1823 - name : Checkout Code
19- uses : actions/checkout@v3
24+ uses : actions/checkout@v4
2025
2126 - name : Setup dotnet CLI
2227 uses : actions/setup-dotnet@v3.2.0
2328 with :
2429 dotnet-version : |
2530 6.0.x
2631 7.0.x
32+ 8.0.x
2733
2834 - name : Setup dependencies caching
2935 uses : actions/cache@v3
8490 # Use always() to always run this step to publish test results when there are test failures
8591 if : ${{ always() }}
8692
87- - name : Test with dotnet (.NET Core 7 .0)
88- run : dotnet test -f net7 .0 --logger trx --collect "Code Coverage" --results-directory "TestResults-net7-${{ matrix.dotnet-version }}" Framework\Ninject\Azure\Tests\Cqrs.Ninject.Azure.WebJobs.Tests.Integration\Cqrs.Ninject.Azure.WebJobs.Tests.Integration.csproj
93+ - name : Test with dotnet (.NET Core 8 .0)
94+ run : dotnet test -f net8 .0 --logger trx --collect "Code Coverage" --results-directory "TestResults-net7-${{ matrix.dotnet-version }}" Framework\Ninject\Azure\Tests\Cqrs.Ninject.Azure.WebJobs.Tests.Integration\Cqrs.Ninject.Azure.WebJobs.Tests.Integration.csproj
8995 - name : Upload dotnet test results
9096 uses : actions/upload-artifact@v4
9197 with :
94100 # Use always() to always run this step to publish test results when there are test failures
95101 if : ${{ always() }}
96102
97- - name : Test Dependency Resolver with dotnet (.NET Core 7 .0)
98- run : dotnet test -f net7 .0 --logger trx --collect "Code Coverage" --results-directory "DependencyResolver-TestResults-net7-${{ matrix.dotnet-version }}" Framework\DependencyInjection\Tests\Cqrs.DependencyInjection.Tests.Unit\Cqrs.DependencyInjection.Tests.Unit.csproj
103+ - name : Test Dependency Resolver with dotnet (.NET Core 8 .0)
104+ run : dotnet test -f net8 .0 --logger trx --collect "Code Coverage" --results-directory "DependencyResolver-TestResults-net7-${{ matrix.dotnet-version }}" Framework\DependencyInjection\Tests\Cqrs.DependencyInjection.Tests.Unit\Cqrs.DependencyInjection.Tests.Unit.csproj
99105 - name : Upload dotnet test results
100106 uses : actions/upload-artifact@v4
101107 with :
0 commit comments