Skip to content

Commit 54e9d28

Browse files
committed
try fix CI
1 parent fc6b8b3 commit 54e9d28

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,11 @@ jobs:
662662
just test-powershell
663663
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
664664
shell: powershell
665+
- name: Test CMD shell failure
666+
run: |
667+
call .venv\Scripts\activate
668+
pytest --cov-append ./tests/shellcompletion/test_shell_resolution.py::test_get_win_shell_failure
669+
shell: cmd
665670
- name: Store coverage files
666671
uses: actions/upload-artifact@v4
667672
with:

justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,12 @@ test-zsh:
243243
# test powershell shell completions
244244
[script("powershell")]
245245
test-powershell:
246-
.venv/Scripts/activate.ps1 && pytest --cov-append tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_powershell tests/test_parser_completers.py tests/test_parser_completers.py tests/shellcompletion/test_powershell.py::PowerShellTests tests/shellcompletion/test_powershell.py::PowerShellExeTests
246+
.venv/Scripts/activate.ps1; pytest --cov-append tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_powershell tests/test_parser_completers.py tests/test_parser_completers.py tests/shellcompletion/test_powershell.py::PowerShellTests tests/shellcompletion/test_powershell.py::PowerShellExeTests
247247

248248
# test pwsh shell completions
249249
[script("pwsh")]
250250
test-pwsh:
251-
.venv/Scripts/activate.ps1 && pytest --cov-append tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_pwsh tests/test_parser_completers.py tests/shellcompletion/test_powershell.py::PWSHTests tests/shellcompletion/test_powershell.py::PWSHExeTests
251+
.venv/Scripts/activate.ps1; pytest --cov-append tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_pwsh tests/test_parser_completers.py tests/shellcompletion/test_powershell.py::PWSHTests tests/shellcompletion/test_powershell.py::PWSHExeTests
252252

253253
# test fish shell completions
254254
[script("fish")]

0 commit comments

Comments
 (0)