Skip to content

Add another ci action#24

Merged
javidahmed64592 merged 3 commits intomainfrom
add-another-ci-action
Mar 5, 2026
Merged

Add another ci action#24
javidahmed64592 merged 3 commits intomainfrom
add-another-ci-action

Conversation

@javidahmed64592
Copy link
Owner

This pull request refactors the workflow scripts and related documentation to improve consistency and clarity in version and name extraction from pyproject.toml and uv.lock. The main changes include renaming script entrypoints for clarity, adding new functionality to extract the project name, updating the workflow logic and documentation, and extending the test suite to cover these updates.

Workflow and script refactoring:

  • Renamed script entrypoints in pyproject.toml for extracting version and name to use a consistent naming scheme (ci-pyproject-version, ci-pyproject-name, ci-uv-lock-version) and added a new entrypoint for extracting the project name.

Functionality improvements:

  • Added _get_name_pyproject and print_name_pyproject functions in template_python/workflows.py to extract and print the project name from pyproject.toml, and updated _get_version_uv_lock to use the new name extraction method for improved reliability. [1] [2]

Workflow logic and documentation updates:

  • Updated the CI workflow in .github/actions/ci/version-check/action.yml and its documentation in docs/WORKFLOWS.md to use the new script names for extracting version information. [1] [2]

Testing enhancements:

  • Added and updated tests in tests/test_workflows.py to cover the new name extraction functionality and ensure that the workflow logic is properly validated. [1] [2] [3]

@javidahmed64592 javidahmed64592 merged commit 58219f1 into main Mar 5, 2026
14 of 16 checks passed
@javidahmed64592 javidahmed64592 deleted the add-another-ci-action branch March 5, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant