Skip to content

Fix: update GitHub workflows and fix linting errors - #36

Draft
carshadi wants to merge 2 commits into
mainfrom
fix-github-actions
Draft

carshadi wants to merge 2 commits into
mainfrom
fix-github-actions

Conversation

@carshadi

Copy link
Copy Markdown
Member

Summary

  • Replace the legacy test/lint workflow with the current library-template workflow structure.
  • Run CI with uv across Python 3.11–3.14.
  • Add Ruff, docstring coverage, pytest, and coverage checks.
  • Add automated badge updates and semantic version tagging on pushes to main.
  • Migrate package metadata to static versioning for compatibility with uv version.
  • Update development dependencies and uv.lock.
  • Fix two Ruff errors exposed by the new checks.

Validation

  • GitHub workflow schema validation
  • Ruff checks
  • uv lock --check
  • Package build
  • Twine distribution checks
  • Full test suite — local installation exceeded available disk space while unpacking the CUDA-enabled PyTorch dependencies
  • Docstring coverage — currently 85.6%, below the configured 100% threshold

Deployment notes

The tagging workflow requires:

  • Repository variable: SEMANTIC_RELEASE_BOT_APP_ID
  • Repository secret: SEMANTIC_RELEASE_BOT_PRIVATE_KEY

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