@@ -264,41 +264,55 @@ list-missed-tests: install log-tests test-all
264
264
[script (" bash" )]
265
265
test-bash :
266
266
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
267
+ source .venv/ bin/ activate
268
+ pytest --cov-append tests/ shellcompletion/ test_shell_resolution.py::TestShellResolution::test_bash tests/ test_parser_completers.py tests/ shellcompletion/ test_bash.py || exit
268
269
uv sync --no-extra rich
269
- source .venv/ bin/ activate && pytest --cov-append tests/ shellcompletion/ test_bash.py::BashExeTests::test_prompt_install
270
+ source .venv/ bin/ activate
271
+ pytest --cov-append tests/ shellcompletion/ test_bash.py::BashExeTests::test_prompt_install || exit
270
272
271
273
# test zsh shell completions
272
274
[script (" zsh" )]
273
275
test-zsh :
274
276
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
277
+ source .venv/ bin/ activate
278
+ pytest --cov-append tests/ shellcompletion/ test_shell_resolution.py::TestShellResolution::test_zsh tests/ test_parser_completers.py tests/ shellcompletion/ test_zsh.py || exit
276
279
uv sync --no-extra rich
277
- source .venv/ bin/ activate && pytest --cov-append tests/ shellcompletion/ test_zsh.py::ZshExeTests::test_prompt_install
280
+ source .venv/ bin/ activate
281
+ pytest --cov-append tests/ shellcompletion/ test_zsh.py::ZshExeTests::test_prompt_install || exit
278
282
279
283
# test powershell shell completions
280
284
[script (" powershell" )]
281
285
test-powershell :
282
286
uv sync --no-extra rich
283
- . .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; if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
287
+ . .venv/ Scripts/ activate.ps1
288
+ 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
289
+ if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
284
290
uv sync --no-extra rich
285
- . .venv/ Scripts/ activate.ps1; pytest --cov-append tests/ shellcompletion/ test_powershell.py::PowerShellExeTests::test_prompt_install; if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
291
+ . .venv/ Scripts/ activate.ps1
292
+ pytest --cov-append tests/ shellcompletion/ test_powershell.py::PowerShellExeTests::test_prompt_install
293
+ if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
286
294
287
295
# test pwsh shell completions
288
296
[script (" pwsh" )]
289
297
test-pwsh :
290
298
uv sync --all-extras
291
- . .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; if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
299
+ . .venv/ Scripts/ activate.ps1
300
+ 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
301
+ if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
292
302
uv sync --no-extra rich
293
- . .venv/ Scripts/ activate.ps1; pytest --cov-append tests/ shellcompletion/ test_powershell.py::PWSHExeTests::test_prompt_install; if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
303
+ . .venv/ Scripts/ activate.ps1
304
+ pytest --cov-append tests/ shellcompletion/ test_powershell.py::PWSHExeTests::test_prompt_install
305
+ if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
294
306
295
307
# test fish shell completions
296
308
[script (" fish" )]
297
309
test-fish :
298
310
uv sync --all-extras
299
- 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
311
+ source .venv/ bin/ activate.fish
312
+ pytest --cov-append tests/ shellcompletion/ test_shell_resolution.py::TestShellResolution::test_fish tests/ test_parser_completers.py tests/ shellcompletion/ test_fish.py || exit
300
313
uv sync --no-extra rich
301
- source .venv/ bin/ activate.fish && pytest --cov-append tests/ shellcompletion/ test_fish.py::FishExeShellTests::test_prompt_install
314
+ source .venv/ bin/ activate.fish
315
+ pytest --cov-append tests/ shellcompletion/ test_fish.py::FishExeShellTests::test_prompt_install || exit
302
316
303
317
# run tests
304
318
test * TESTS :
0 commit comments