From 5a6c51d8b583243568a1d5ab6c144eea36f7e56d Mon Sep 17 00:00:00 2001 From: Matt Warren Date: Mon, 9 Mar 2026 19:36:40 -0700 Subject: [PATCH] Add timeout to dotnet test running --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 263feb2..33db32e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,7 @@ jobs: test-dotnet: name: Build and Test (.NET) runs-on: ubuntu-latest + timeout-minutes: 15 permissions: contents: read @@ -30,7 +31,10 @@ jobs: run: dotnet build src/KustoLsp.Tests/KustoLspTests.csproj --no-restore - name: Run tests - run: dotnet test src/KustoLsp.Tests/KustoLspTests.csproj --no-build --verbosity normal + run: dotnet test src/KustoLsp.Tests/KustoLspTests.csproj --no-build --verbosity normal --logger "console;verbosity=normal" --blame-hang --blame-hang-timeout 60s + env: + DOTNET_CLI_TELEMETRY_OPTOUT: 1 + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 lint-typescript: name: Lint and Build (TypeScript)