Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 30, 2025

Adds automated testing and package publishing workflows following the packaging infrastructure added in the previous commit.

Workflows

CI (.github/workflows/ci.yml)

  • Matrix testing: Python 3.8-3.12 × Ubuntu/macOS/Windows
  • Linting (flake8), formatting (black), type checking (mypy)
  • Test execution with coverage upload to Codecov

Publish (.github/workflows/publish.yml)

  • Builds source and wheel distributions
  • Publishes to TestPyPI (manual) or PyPI (on release)
  • Uses Trusted Publishing (OIDC) - no API tokens required
  • Supports manual dispatch with boolean flag for test vs production

Both workflows enforce explicit GITHUB_TOKEN permissions per security best practices.

Setup Required

Configure Trusted Publishers on PyPI/TestPyPI:

  • Project: python-schema-manager
  • Owner: hapticPaper
  • Workflow: publish.yml
  • Environments: pypi and testpypi

See .github/workflows/README.md for detailed setup instructions.

Original prompt

ok, i merged those and added the packaging stuff you left out. now create the git actions files to create the pip packages


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits October 30, 2025 16:58
Co-authored-by: hapticPaper <677759+hapticPaper@users.noreply.github.com>
Co-authored-by: hapticPaper <677759+hapticPaper@users.noreply.github.com>
Copilot AI changed the title [WIP] Add GitHub Actions files for creating pip packages Add GitHub Actions workflows for CI and PyPI publishing Oct 30, 2025
Copilot AI requested a review from hapticPaper October 30, 2025 17:02
Copilot finished work on behalf of hapticPaper October 30, 2025 17:02
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