Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Azure Functions integration tests on .NET 8 and .NET 9 #6517

Merged
merged 4 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .azure-pipelines/ultimate-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1811,6 +1811,12 @@ stages:
targetShaId: $(targetShaId)
targetBranch: $(targetBranch)
- template: steps/install-dotnet-sdks.yml
# This is a hack because otherwise Azure Functions _always_ tries to use the one from program files otherwise
- script: |
cd /D %PROGRAMFILES%/dotnet
rename dotnet.exe dotnet.exe.bak
where dotnet
displayName: 'Rename default dotnet.exe'
- template: steps/restore-working-directory.yml

- template: steps/install-msi.yml
Expand Down
2 changes: 2 additions & 0 deletions tracer/build/_build/Build.VariableGenerations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ void GenerateIntegrationTestsWindowsAzureFunctionsMatrix()
// new {framework = TargetFramework.NETCOREAPP3_1, runtimeInstall = v3Install, runtimeUninstall = v3Uninstall },
new {framework = TargetFramework.NET6_0 },
new {framework = TargetFramework.NET7_0 },
new {framework = TargetFramework.NET8_0 },
new {framework = TargetFramework.NET9_0 },
};

var matrix = new Dictionary<string, object>();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<ApiVersion Condition="'$(ApiVersion)' == ''">2.0.0</ApiVersion>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
<OutputType>Exe</OutputType>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
Loading