Skip to content

Commit 173a975

Browse files
committed
Test windows
1 parent b92fabb commit 173a975

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test-runner-actions.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77

88
jobs:
99
test-windows-disk:
10-
runs-on: macos-latest
10+
runs-on: windows-latest
1111
steps:
12-
- run: echo "import os" > foo.py
13-
- run: echo "os.rename('/dev/rdisk0', '/dev/rdisk0-unused')" >> foo.py
12+
- run: echo "from ctypes import windll" > foo.py
13+
- run: echo "print(windll.kernel32.CreateFile(r'\\\\.\\PhysicalDrive0', 0, 3, 0, 3, 0, 0))" >> foo.py
1414
- run: python foo.py

0 commit comments

Comments
 (0)