Skip to content

Refactor CI workflow to use shared workflow from .github repository#25

Merged
amavashev merged 1 commit intomainfrom
claude/analyze-codebase-metrics-9Uqs6
Mar 28, 2026
Merged

Refactor CI workflow to use shared workflow from .github repository#25
amavashev merged 1 commit intomainfrom
claude/analyze-codebase-metrics-9Uqs6

Conversation

@amavashev
Copy link
Copy Markdown
Contributor

Summary

Consolidated the CI workflow by replacing the inline job definition with a reusable workflow from the centralized .github repository. This reduces duplication and improves maintainability across projects.

Key Changes

  • Removed the lint-and-test job with its inline steps for linting, type checking, and testing
  • Replaced with a call to the shared ci-python.yml workflow from runcycles/.github
  • Configured the shared workflow with mypy-target: runcycles to maintain the same type checking behavior

Implementation Details

The shared workflow approach allows for:

  • Centralized CI configuration management across multiple repositories
  • Consistent Python version testing (3.10, 3.12) maintained in the shared workflow
  • Simplified maintenance of linting, type checking, and test configurations
  • Reduced duplication of workflow code in individual repositories

https://claude.ai/code/session_01EGLQU8Z1d5cbbeqfYdV16a

Replace inline CI steps with a call to the shared ci-python.yml
reusable workflow. Same behavior: ruff lint, mypy type check,
pytest with coverage on Python 3.10 and 3.12.
@amavashev amavashev merged commit c1b69b1 into main Mar 28, 2026
3 checks passed
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.

2 participants