fix(cli): fail with exit code 2 when no subcommand is given to semantic-release
#639
ci.yml
on: pull_request
Evaluate changes
6s
commitlint
16s
validate
/
Lint
5m 53s
validate
/
Validate Action Build & Execution
0s
Matrix: validate / test-linux
Matrix: validate / test-windows
Annotations
42 errors and 1 notice
|
test_main.test_entrypoint_scripts[semantic-release]:
tests\e2e\test_main.py#L47
assert == failed. [pytest-clarity diff shown]
#x1B[0m
#x1B[0m#x1B[32mLHS#x1B[0m vs #x1B[31mRHS#x1B[0m shown below
#x1B[0m
#x1B[0m#x1B[32m+ 0#x1B[0m
#x1B[0m#x1B[31m- 2#x1B[0m
#x1B[0m
|
|
test_main.test_entrypoint_scripts[python-semantic-release]:
tests\e2e\test_main.py#L47
assert == failed. [pytest-clarity diff shown]
#x1B[0m
#x1B[0m#x1B[32mLHS#x1B[0m vs #x1B[31mRHS#x1B[0m shown below
#x1B[0m
#x1B[0m#x1B[32m+ 0#x1B[0m
#x1B[0m#x1B[31m- 2#x1B[0m
#x1B[0m
|
|
test_help.test_help_non_release_branch[repo_w_trunk_only_conventional_commits-main-h]:
tests\e2e\test_help.py#L231
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release -h'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
test_help.test_help_non_release_branch[repo_w_trunk_only_conventional_commits-main-help]:
tests\e2e\test_help.py#L231
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release --help'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
test_help.test_help_invalid_config[main-help]:
tests\e2e\test_help.py#L176
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release --help'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
test_help.test_help_invalid_config[main-h]:
tests\e2e\test_help.py#L176
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release -h'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
test_help.test_help_no_repo[main-help]:
tests\e2e\test_help.py#L75
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release --help'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
test_help.test_help_valid_config[main-help]:
tests\e2e\test_help.py#L123
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release --help'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
test_help.test_help_valid_config[main-h]:
tests\e2e\test_help.py#L123
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release -h'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
test_help.test_help_no_repo[main-h]:
tests\e2e\test_help.py#L75
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release -h'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
validate / Python 3.8 on windows-latest E2E tests:
tests\e2e\test_main.py#L47
test_entrypoint_scripts[semantic-release]
assert == failed. [pytest-clarity diff shown]
LHS vs RHS shown below
+ 0
- 2
|
|
validate / Python 3.8 on windows-latest E2E tests:
tests\e2e\test_main.py#L47
test_entrypoint_scripts[python-semantic-release]
assert == failed. [pytest-clarity diff shown]
LHS vs RHS shown below
+ 0
- 2
|
|
validate / Python 3.8 on windows-latest E2E tests:
tests\e2e\test_help.py#L231
test_help_non_release_branch[repo_w_trunk_only_conventional_commits-main-h]
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release -h'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
validate / Python 3.8 on windows-latest E2E tests:
tests\e2e\test_help.py#L231
test_help_non_release_branch[repo_w_trunk_only_conventional_commits-main-help]
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release --help'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
validate / Python 3.8 on windows-latest E2E tests:
tests\e2e\test_help.py#L176
test_help_invalid_config[main-help]
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release --help'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
validate / Python 3.8 on windows-latest E2E tests:
tests\e2e\test_help.py#L176
test_help_invalid_config[main-h]
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release -h'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
validate / Python 3.8 on windows-latest E2E tests:
tests\e2e\test_help.py#L75
test_help_no_repo[main-help]
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release --help'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
validate / Python 3.8 on windows-latest E2E tests:
tests\e2e\test_help.py#L123
test_help_valid_config[main-help]
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release --help'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
validate / Python 3.8 on windows-latest E2E tests:
tests\e2e\test_help.py#L123
test_help_valid_config[main-h]
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release -h'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
validate / Python 3.8 on windows-latest E2E tests:
tests\e2e\test_help.py#L75
test_help_no_repo[main-h]
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release -h'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
test_main.test_entrypoint_scripts[psr]:
tests/e2e/test_main.py#L47
assert == failed. [pytest-clarity diff shown]
#x1B[0m
#x1B[0m#x1B[32mLHS#x1B[0m vs #x1B[31mRHS#x1B[0m shown below
#x1B[0m
#x1B[0m#x1B[32m+ 0#x1B[0m
#x1B[0m#x1B[31m- 2#x1B[0m
#x1B[0m
|
|
test_main.test_entrypoint_scripts[python-semantic-release]:
tests/e2e/test_main.py#L47
assert == failed. [pytest-clarity diff shown]
#x1B[0m
#x1B[0m#x1B[32mLHS#x1B[0m vs #x1B[31mRHS#x1B[0m shown below
#x1B[0m
#x1B[0m#x1B[32m+ 0#x1B[0m
#x1B[0m#x1B[31m- 2#x1B[0m
#x1B[0m
|
|
test_help.test_help_no_repo[main-help]:
tests/e2e/test_help.py#L75
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release --help'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
test_help.test_help_no_repo[main-h]:
tests/e2e/test_help.py#L75
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release -h'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
test_help.test_help_non_release_branch[repo_w_trunk_only_conventional_commits-main-help]:
tests/e2e/test_help.py#L231
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release --help'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
test_help.test_help_non_release_branch[repo_w_trunk_only_conventional_commits-main-h]:
tests/e2e/test_help.py#L231
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release -h'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
test_help.test_help_invalid_config[main-help]:
tests/e2e/test_help.py#L176
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release --help'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
test_help.test_help_invalid_config[main-h]:
tests/e2e/test_help.py#L176
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release -h'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
test_help.test_help_valid_config[main-help]:
tests/e2e/test_help.py#L123
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release --help'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
test_help.test_help_valid_config[main-h]:
tests/e2e/test_help.py#L123
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release -h'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
validate / Python 3.14 on ubuntu-latest E2E tests:
tests/e2e/test_main.py#L47
test_entrypoint_scripts[psr]
assert == failed. [pytest-clarity diff shown]
LHS vs RHS shown below
+ 0
- 2
|
|
validate / Python 3.14 on ubuntu-latest E2E tests:
tests/e2e/test_main.py#L47
test_entrypoint_scripts[python-semantic-release]
assert == failed. [pytest-clarity diff shown]
LHS vs RHS shown below
+ 0
- 2
|
|
validate / Python 3.14 on ubuntu-latest E2E tests:
tests/e2e/test_help.py#L75
test_help_no_repo[main-help]
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release --help'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
validate / Python 3.14 on ubuntu-latest E2E tests:
tests/e2e/test_help.py#L75
test_help_no_repo[main-h]
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release -h'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
validate / Python 3.14 on ubuntu-latest E2E tests:
tests/e2e/test_help.py#L231
test_help_non_release_branch[repo_w_trunk_only_conventional_commits-main-help]
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release --help'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
validate / Python 3.14 on ubuntu-latest E2E tests:
tests/e2e/test_help.py#L231
test_help_non_release_branch[repo_w_trunk_only_conventional_commits-main-h]
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release -h'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
validate / Python 3.14 on ubuntu-latest E2E tests:
tests/e2e/test_help.py#L176
test_help_invalid_config[main-help]
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release --help'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
validate / Python 3.14 on ubuntu-latest E2E tests:
tests/e2e/test_help.py#L176
test_help_invalid_config[main-h]
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release -h'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
validate / Python 3.14 on ubuntu-latest E2E tests:
tests/e2e/test_help.py#L123
test_help_valid_config[main-help]
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release --help'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
validate / Python 3.14 on ubuntu-latest E2E tests:
tests/e2e/test_help.py#L123
test_help_valid_config[main-h]
AssertionError: 2 != 0 (actual != expected)
Unexpected exit code from command:
'semantic-release -h'
stdout:
stderr:
Usage: semantic-release [OPTIONS] COMMAND [ARGS]...
Try 'semantic-release -h' for help.
Error: Missing command.
|
|
validate / Python 3.8 on ubuntu-latest E2E tests
The strategy configuration was canceled because "validate.test-linux._3_14_ubuntu-latest" failed
|
|
validate / Python 3.8 on ubuntu-latest E2E tests
The operation was canceled.
|
|
validate / Build
Next release will be 'v10.5.0-dev.1'
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
cached-repos-ubuntu-latest-3.14
Expired
|
2.44 MB |
sha256:0f1f5544d173113efee6865c4ba1b7b49b2fc1b85b9ce53f2bc7ca7cd3ec28e4
|
|
|
cached-repos-windows-latest-3.8
Expired
|
344 KB |
sha256:c4790ffdddf69c00a7f0a19e48477bd9439dcc3feeb9e42dd7ae3b01b8e0d9e4
|
|
|
dist
Expired
|
727 KB |
sha256:ae5948035de8562c787b4bcb8afe5fa71e1ae9763937a618b345ae0786fc934b
|
|
|
tested-repos-ubuntu-latest-3.14
Expired
|
47.5 MB |
sha256:bae3d84e3d491ab4798bfcf95e3f15db3d229ebcfad67c86d50fe7b00fca6803
|
|
|
tested-repos-windows-latest-3.8
Expired
|
7.88 MB |
sha256:ec089f787523b57d1caaa16534e071e3322026791471c8fc0fe3f2b586218cc7
|
|