Skip to content

CI and tooling improvements - #5

Merged
juliendrapeau merged 6 commits into
devfrom
versioning
May 8, 2026
Merged

juliendrapeau merged 6 commits into
devfrom
versioning

Conversation

@juliendrapeau

Copy link
Copy Markdown
Owner

Summary

  • Bump action versions — setup-python@v5 → @v6, setup-uv@v7 → @v8.1.0 in tests.yml
  • Replace mypy with ty — faster type checker; update pre-commit hook, CI step, and dev dependencies; fix type-ignore comments in workflow scripts and annotate lifecycle.py set to avoid LiteralString widening
  • Add auto_tag and version_check CI workflows — version bump now happens inside the PR; CI tags automatically on merge, no more manual git tag && git push
  • Full-tree SIF cleanliness check — build_sif.py now checks the entire working tree (not just src/) before building, preventing uncommitted config or lock changes from being baked into the image
  • Update versioning guide — rewrite docs/versioning.md to document the new CI-driven tagging workflow

setup-python@v5 → @v6, setup-uv@v7 → @v8.1.0
Remove mypy and types-pyyaml; add ty to dev deps. Update pre-commit
hook and CI type-check step. Fix type-ignore comments in workflow
scripts and annotate lifecycle.py set to avoid LiteralString widening.
auto_tag.yml pushes a vX.Y.Z tag on every merge to main/dev if the tag
doesn't already exist. version_check.yml blocks a PR that touches
pyproject.toml unless the version was bumped and the tag is free.
Replace _check_clean_src() (src/ only) with _check_clean_tree() (full
working tree). Uncommitted config or lock changes could otherwise be
silently baked into the image under the wrong version name.
Replace manual git tag + push instructions with the new CI-driven
workflow: bump version in the PR, auto_tag.yml tags on merge.
Also update build_sif.py reference (full tree check, not just src/).
@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
68 62 91% 90% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 686562a by action🐍

@juliendrapeau
juliendrapeau merged commit 98888af into dev May 8, 2026
2 checks passed
juliendrapeau added a commit that referenced this pull request May 8, 2026
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