This commit is contained in:
Shyju Krishnankutty
2026-03-12 18:59:29 -07:00
Unverified
parent f4778b0137
commit fa6e299502
@@ -75,12 +75,13 @@ jobs:
- name: Run Integration Tests
shell: bash
working-directory: dotnet
run: |
export INTEGRATION_TEST_PROJECTS=$(find ./dotnet -type f -name "*IntegrationTests.csproj" | tr '\n' ' ')
export INTEGRATION_TEST_PROJECTS=$(find . -type f -name "*IntegrationTests.csproj" | tr '\n' ' ')
for project in $INTEGRATION_TEST_PROJECTS; do
target_frameworks=$(dotnet msbuild $project -getProperty:TargetFrameworks -p:Configuration=${{ matrix.configuration }} -nologo 2>/dev/null | tr -d '\r')
if [[ "$target_frameworks" == *"${{ matrix.targetFramework }}"* ]]; then
dotnet test -f ${{ matrix.targetFramework }} -c ${{ matrix.configuration }} $project --logger trx --filter "Category!=IntegrationDisabled"
dotnet test -f ${{ matrix.targetFramework }} -c ${{ matrix.configuration }} $project --no-build --logger trx --filter "Category!=IntegrationDisabled"
else
echo "Skipping $project - does not support target framework ${{ matrix.targetFramework }} (supports: $target_frameworks)"
fi