Skip to content

Conversation

@bearomorphism
Copy link
Collaborator

Description

Checklist

Code Changes

  • Add test cases to all the changes you introduce
  • Run uv run poe all locally to ensure this change passes linter check and tests
  • Manually test the changes:
    • Verify the feature/bug fix works as expected in real-world scenarios
    • Test edge cases and error conditions
    • Ensure backward compatibility is maintained
    • Document any manual testing steps performed
  • Update the documentation for the changes

Documentation Changes

  • Run uv run poe doc locally to ensure the documentation pages renders correctly
  • Check and fix any broken links (internal or external) in the documentation

When running uv run poe doc, any broken internal documentation links will be reported in the console output like this:

INFO    -  Doc file 'config.md' contains a link 'commands/bump.md#-post_bump_hooks', but the doc 'commands/bump.md' does not contain an anchor '#-post_bump_hooks'.

Expected Behavior

Steps to Test This Pull Request

Additional Context

@codecov
Copy link

codecov bot commented Jan 6, 2026

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
1164 1 1163 1
View the top 1 failed test(s) by shortest run time
tests/commands/test_init_command.py::test_init_when_config_already_exists
Stack Traces | 0.003s run time
config = <commitizen.config.base_config.BaseConfig object at 0x7fa0d367d330>
capsys = <_pytest.capture.CaptureFixture object at 0x7fa0d3534d30>

    def test_init_when_config_already_exists(config: BaseConfig, capsys):
        # Set config path
        path = Path(os.sep.join(["tests", "pyproject.toml"]))
        config.path = path
    
        commands.Init(config)()
        captured = capsys.readouterr()
>       assert captured.out == f"Config file {path} already exists\n"
E       AssertionError: assert 'Config file ...ady exists.\n' == 'Config file ...eady exists\n'
E         
E         Skipping 37 identical leading characters in diff, use -v to show
E         - ady exists
E         + ady exists.
E         ?           +

tests/commands/test_init_command.py:97: AssertionError

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@bearomorphism bearomorphism changed the title Test ci [DO NOT MERGE] for pipeline tests Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants