From 6db042541bb030c075107d785ca72fd6575fc857 Mon Sep 17 00:00:00 2001 From: Seweryn Presnal Date: Fri, 5 Jul 2024 12:46:24 +0200 Subject: [PATCH] integration_tests.yml: use handle.exe to check what processes have handles --- .github/workflows/integration_tests.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 158099fbd..fef9b9574 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -55,6 +55,15 @@ jobs: working-directory: Release/ImperatorToCK3 run: | dotnet ImperatorToCK3Converter.dll + + - name: "Check file handles" + # check what processes have handles to the files in the Github workspace dir + run: | + Get-ChildItem -Path $Env:GITHUB_WORKSPACE -Recurse -Force | ForEach-Object { + Write-Host "" + Write-Host "Checking handles for $($_.FullName)" + c:\sysinternals\handle.exe -a -nobanner $_.FullName + } - name: "Cleanup" if: always() run: |