Skip to content

Commit

Permalink
Show open file handles for any running process
Browse files Browse the repository at this point in the history
This help debugging "cannot open file" CI failures on Windows.
  • Loading branch information
fpoli authored Sep 27, 2023
1 parent 0631c11 commit 9580905
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,13 @@ jobs:
run: |
cd prusti-contracts/prusti-contracts-test/
cargo +stable build
- name: "Windows debugging: show open file handles for any running process"
if: matrix.os == 'windows-latest' && failure()
shell: cmd
run: |
C:\msys64\usr\bin\wget.exe https://download.sysinternals.com/files/Handle.zip
7z x Handle.zip
handle.exe -u -nobanner -accepteula
release-build:
needs: [fmt-check, clippy-check, check-deps, smir-check, quick-tests]
Expand Down

0 comments on commit 9580905

Please sign in to comment.