From fa6e29950261eee069dbf372cf8981b210129d4f Mon Sep 17 00:00:00 2001 From: Shyju Krishnankutty Date: Thu, 12 Mar 2026 18:59:29 -0700 Subject: [PATCH] fix test --- .github/workflows/dotnet-integration-tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet-integration-tests.yml b/.github/workflows/dotnet-integration-tests.yml index d9ce13b9fd..2241274c1c 100644 --- a/.github/workflows/dotnet-integration-tests.yml +++ b/.github/workflows/dotnet-integration-tests.yml @@ -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