Skip to content

ci: Add GitHub Actions for CI and PyPI release#2

Open
zwang759 wants to merge 3 commits intomainfrom
feat/github-actions
Open

ci: Add GitHub Actions for CI and PyPI release#2
zwang759 wants to merge 3 commits intomainfrom
feat/github-actions

Conversation

@zwang759
Copy link
Copy Markdown

Summary

Adds CI and release workflows for the FloPro monorepo.

CI Workflow (ci.yml)

  • Ruff lint and format check
  • Pytest for flopro-sdk and flopro-adk across Python 3.10, 3.11, 3.12
  • Build verification (sdist + wheel)
  • Runs on PRs to main and pushes to main

Release Workflow (release.yml)

  • Triggered by package-specific tags: flopro-sdk/v*, flopro-adk/v*
  • Builds and publishes to PyPI using GitHub trusted publishing (no API tokens)
  • Each package releases independently

Other Changes

  • Added [test] extra with pytest dependency to both package pyproject.toml files

Setup Required Before First Release

  • Configure trusted publishing on PyPI for each package (owner: amzn, repo: FloPro, workflow: release.yml, environment: pypi)

Zhiheng Wang added 2 commits March 24, 2026 12:08
Set up the initial monorepo folder structure following the FloPro
open-source developer setup guide. Includes:
- packages/flopro-sdk: Core SDK with no external dependencies
- packages/flopro-adk: Agent Development Kit depending on flopro-sdk
- Workspace-root pyproject.toml with hatch environment config
- Placeholder directories for docs, examples, tools, and .github
Simplify root pyproject.toml to shared ruff config only. Each package
now owns its own hatch env with dev dependencies, test/lint scripts,
and pytest config. This follows monorepo best practice where packages
are independently buildable and testable.
@zwang759 zwang759 force-pushed the feat/github-actions branch 2 times, most recently from 97c799d to 013a38e Compare March 24, 2026 20:36
Add CI workflow with ruff lint, pytest across Python 3.10-3.12, and
build verification for both flopro-sdk and flopro-adk packages.

Add release workflow with tag-triggered PyPI publish using trusted
publishing. Tags use pattern flopro-sdk/v* and flopro-adk/v* for
independent per-package releases.

Add placeholder test_import.py for each package and .gitignore.
@zwang759 zwang759 force-pushed the feat/github-actions branch from 013a38e to bcefa9f Compare March 24, 2026 20:40
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