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:
341341 run : |
342342 just test ./tests/verify_environment.py
343343 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
344347
345348 - name : Store coverage files
346349 uses : actions/upload-artifact@v4
@@ -666,9 +669,6 @@ jobs:
666669 run : |
667670 call .venv\Scripts\activate
668671 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
672672 shell : cmd
673673 - name : Store coverage files
674674 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments