Skip to content

Commit 9d264b0

Browse files
committed
try fix shell tests
1 parent ef4286f commit 9d264b0

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

justfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -231,27 +231,30 @@ list-missed-tests: install log-tests test-all
231231
# test bash shell completions
232232
[script("bash")]
233233
test-bash:
234-
uv run pytest --cov-append tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_bash tests/test_parser_completers.py tests/shellcompletion/test_bash.py
234+
source .venv/bin/activate; pytest --cov-append tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_bash tests/test_parser_completers.py tests/shellcompletion/test_bash.py
235235

236236
# test zsh shell completions
237237
[script("zsh")]
238238
test-zsh:
239-
uv run pytest --cov-append tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_zsh tests/test_parser_completers.py tests/shellcompletion/test_zsh.py
239+
source .venv/bin/activate; pytest --cov-append tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_zsh tests/test_parser_completers.py tests/shellcompletion/test_zsh.py
240240

241241
# test powershell shell completions
242242
[script("powershell")]
243243
test-powershell:
244-
uv run 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
244+
.venv/Scripts/activate.ps1
245+
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
245246

246247
# test pwsh shell completions
247248
[script("pwsh")]
248249
test-pwsh:
249-
uv run 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
250+
.venv/Scripts/activate.ps1
251+
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
250252

251253
# test fish shell completions
252254
[script("fish")]
253255
test-fish:
254-
uv run pytest --cov-append tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_fish tests/test_parser_completers.py tests/shellcompletion/test_fish.py
256+
source .venv/bin/activate.fish
257+
pytest --cov-append tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_fish tests/test_parser_completers.py tests/shellcompletion/test_fish.py
255258

256259
# run tests
257260
test *TESTS:

0 commit comments

Comments
 (0)