Skip to content

Commit a5d9d1b

Browse files
committed
try fix windows shell tests in CI
1 parent 40ed6e4 commit a5d9d1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ jobs:
659659
- name: Run Powershell Tab Completion Tests
660660
run: |
661661
just test ./tests/verify_environment.py
662-
call .venv\Scripts\activate; cmd /c "pytest --cov-append ./tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_powershell"
662+
.venv\Scripts\activate.ps1; cmd /c "pytest --cov-append ./tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_powershell"
663663
just test-powershell
664664
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
665665
shell: powershell
@@ -728,7 +728,7 @@ jobs:
728728
- name: Run Powershell Tab Completion Tests
729729
run: |
730730
just test ./tests/verify_environment.py
731-
call .venv\Scripts\activate; cmd /c "pytest --cov-append ./tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_pwsh"
731+
.venv\Scripts\activate.ps1; cmd /c "pytest --cov-append ./tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_pwsh"
732732
just test-pwsh
733733
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
734734
shell: powershell

0 commit comments

Comments
 (0)