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: |