Skip to content

Commit 86f1778

Browse files
committed
install rich for the bulk of the shellcompletion tests
1 parent 43ebde5 commit 86f1778

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

justfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -263,17 +263,17 @@ list-missed-tests: install log-tests test-all
263263
# test bash shell completions
264264
[script("bash")]
265265
test-bash:
266-
uv sync --no-extra rich
267-
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
268266
uv sync --all-extras
267+
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
268+
uv sync --no-extra rich
269269
source .venv/bin/activate && pytest --cov-append tests/shellcompletion/test_bash.py::BashExeTests::test_prompt_install
270270

271271
# test zsh shell completions
272272
[script("zsh")]
273273
test-zsh:
274-
uv sync --no-extra rich
275-
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
276274
uv sync --all-extras
275+
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
276+
uv sync --no-extra rich
277277
source .venv/bin/activate && pytest --cov-append tests/shellcompletion/test_zsh.py::ZshExeTests::test_prompt_install
278278

279279
# test powershell shell completions
@@ -282,24 +282,24 @@ test-powershell:
282282
uv sync --no-extra rich
283283
.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
284284
# TODO - not implemented on windows
285-
# uv pip uninstall rich
285+
# uv sync --no-extra rich
286286
# .venv/Scripts/activate.ps1; pytest --cov-append tests/shellcompletion/test_powershell.py::PowerShellExeTests::test_prompt_install
287287

288288
# test pwsh shell completions
289289
[script("pwsh")]
290290
test-pwsh:
291-
uv sync --no-extra rich
291+
uv sync --all-extras
292292
.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
293293
# TODO - not implemented on windows
294-
# uv pip uninstall rich
294+
# uv sync --no-extra rich
295295
# .venv/Scripts/activate.ps1; pytest --cov-append tests/shellcompletion/test_powershell.py::PWSHExeTests::test_prompt_install
296296

297297
# test fish shell completions
298298
[script("fish")]
299299
test-fish:
300-
uv sync --no-extra rich
301-
source .venv/bin/activate.fish && pytest --cov-append tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_fish tests/test_parser_completers.py tests/shellcompletion/test_fish.py
302300
uv sync --all-extras
301+
source .venv/bin/activate.fish && pytest --cov-append tests/shellcompletion/test_shell_resolution.py::TestShellResolution::test_fish tests/test_parser_completers.py tests/shellcompletion/test_fish.py
302+
uv sync --no-extra rich
303303
source .venv/bin/activate.fish && pytest --cov-append tests/shellcompletion/test_fish.py::FishExeShellTests::test_prompt_install
304304

305305
# run tests

0 commit comments

Comments
 (0)