From 31dfdcb3cec96415e83ba176c5391185fd55d5a8 Mon Sep 17 00:00:00 2001 From: Mark Wallace <127216156+markwallace-microsoft@users.noreply.github.com> Date: Wed, 9 Jul 2025 12:57:52 +0100 Subject: [PATCH] Enable integration tests (#152) --- .github/workflows/dotnet-build-and-test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-build-and-test.yml b/.github/workflows/dotnet-build-and-test.yml index 18e0176590..cb46a118f4 100644 --- a/.github/workflows/dotnet-build-and-test.yml +++ b/.github/workflows/dotnet-build-and-test.yml @@ -100,6 +100,10 @@ jobs: for project in $UT_PROJECTS; do dotnet test -f ${{ matrix.targetFramework }} -c ${{ matrix.configuration }} $project --no-build -v Normal --logger trx --collect:"XPlat Code Coverage" --results-directory:"TestResults/Coverage/" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.ExcludeByAttribute=GeneratedCodeAttribute,CompilerGeneratedAttribute,ExcludeFromCodeCoverageAttribute done + + - name: Log event name and matrix integration-tests + shell: bash + run: echo "The event name is ${{ github.event_name }} and the matrix integration-tests is ${{ matrix.integration-tests }}" - name: Azure CLI Login if: github.event_name != 'pull_request' && matrix.integration-tests @@ -113,7 +117,7 @@ jobs: shell: bash if: github.event_name != 'pull_request' && matrix.integration-tests run: | - export INTEGRATION_TEST_PROJECTS=$(find ./dotnet -type f -name "*IntegrationTests.csproj" | grep -v "Experimental.Orchestration.Flow.IntegrationTests.csproj" | grep -v "VectorDataIntegrationTests.csproj" | tr '\n' ' ') + export INTEGRATION_TEST_PROJECTS=$(find ./dotnet -type f -name "*IntegrationTests.csproj" | tr '\n' ' ') for project in $INTEGRATION_TEST_PROJECTS; do dotnet test -f net8.0 -c ${{ matrix.configuration }} $project --no-build -v Normal --logger trx done