Skip to content

Commit ead0e38

Browse files
authored
Merge pull request #18 from microsoft/user/mattwar/UpdateWorkflow2
Add timeout to dotnet test running
2 parents 3afa22b + 5a6c51d commit ead0e38

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
test-dotnet:
1313
name: Build and Test (.NET)
1414
runs-on: ubuntu-latest
15+
timeout-minutes: 15
1516
permissions:
1617
contents: read
1718

@@ -30,7 +31,10 @@ jobs:
3031
run: dotnet build src/KustoLsp.Tests/KustoLspTests.csproj --no-restore
3132

3233
- name: Run tests
33-
run: dotnet test src/KustoLsp.Tests/KustoLspTests.csproj --no-build --verbosity normal
34+
run: dotnet test src/KustoLsp.Tests/KustoLspTests.csproj --no-build --verbosity normal --logger "console;verbosity=normal" --blame-hang --blame-hang-timeout 60s
35+
env:
36+
DOTNET_CLI_TELEMETRY_OPTOUT: 1
37+
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
3438

3539
lint-typescript:
3640
name: Lint and Build (TypeScript)

0 commit comments

Comments
 (0)