semantic-kernel
semantic-kernel copied to clipboard
.Net: Specifying '-f net8.0' in the subsequent dotnet test commands may lead to compatibility issues if any integration test projects are not targeted to .NET 8; consider parameterizing the target framework to align with project configurations.
Specifying '-f net8.0' in the subsequent dotnet test commands may lead to compatibility issues if any integration test projects are not targeted to .NET 8; consider parameterizing the target framework to align with project configurations.
TARGET_FRAMEWORKS=$(grep -oP '(?<=<TargetFramework>).*?(?=</TargetFramework>)' $project || grep -oP '(?<=<TargetFrameworks>).*?(?=</TargetFrameworks>)' $project | tr ';' '\n')
for framework in $TARGET_FRAMEWORKS; do
dotnet test -f $framework -c ${{ matrix.configuration }} $project --no-build -v Normal --logger trx
done
Originally posted by @Copilot in https://github.com/Bryan-Roe-ai/semantic-kernel/pull/710#discussion_r2051660088