File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -341,6 +341,9 @@ jobs:
341
341
run : |
342
342
just test ./tests/verify_environment.py
343
343
just test-bash || exit 1
344
+ sudo apt-get remove --purge -y powershell
345
+ source .venv/bin/activate
346
+ pytest --cov-append ./tests/shellcompletion/test_shell_resolution.py::test_get_win_shell_failure || exit 1
344
347
345
348
- name : Store coverage files
346
349
uses : actions/upload-artifact@v4
@@ -666,9 +669,6 @@ jobs:
666
669
run : |
667
670
call .venv\Scripts\activate
668
671
pytest --cov-append ./tests/shellcompletion/test_shell_resolution.py::test_get_win_shell_failure || exit 1
669
- Rename-Item -Path "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NewName "powershell_disabled.exe" -Force
670
- Rename-Item -Path "C:\Program Files\PowerShell\7\pwsh.exe" -NewName "pwsh_disabled.exe" -Force
671
- pytest --cov-append ./tests/shellcompletion/test_shell_resolution.py::test_get_win_shell_failure || exit 1
672
672
shell : cmd
673
673
- name : Store coverage files
674
674
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments