ci: Forgejo Actions — CI, PyPI release, mirrors (closes #27) #29

Merged
pyr0ball merged 3 commits from feature/ci-cd into main 2026-04-05 20:51:31 -07:00
Owner

Summary

  • .forgejo/workflows/ci.yml — ruff lint, mypy type check, pytest on push/PR to main
  • .forgejo/workflows/release-pypi.yml — build wheel+sdist, publish to public PyPI, create Forgejo release on tag
  • .forgejo/workflows/mirror.yml — push to GitHub (CircuitForgeLLC) + Codeberg (CircuitForge) on main push and tags
  • .cliff.toml — conventional commit changelog config
  • pyproject.toml — added ruff>=0.4 and mypy>=1.10 to [dev] extras

Required secrets

PYPI_API_TOKEN, FORGEJO_RELEASE_TOKEN, GITHUB_MIRROR_TOKEN, CODEBERG_MIRROR_TOKEN

Mirror targets

  • GitHub: github.com/CircuitForgeLLC/circuitforge-core (MIT — public mirror OK)
  • Codeberg: codeberg.org/CircuitForge/circuitforge-core

Test plan

  • Push to main triggers CI job
  • Push a v* tag triggers release + mirror jobs
  • Verify PyPI publish succeeds
  • Verify GitHub + Codeberg receive the mirror push
## Summary - `.forgejo/workflows/ci.yml` — ruff lint, mypy type check, pytest on push/PR to main - `.forgejo/workflows/release-pypi.yml` — build wheel+sdist, publish to public PyPI, create Forgejo release on tag - `.forgejo/workflows/mirror.yml` — push to GitHub (CircuitForgeLLC) + Codeberg (CircuitForge) on main push and tags - `.cliff.toml` — conventional commit changelog config - `pyproject.toml` — added `ruff>=0.4` and `mypy>=1.10` to `[dev]` extras ## Required secrets `PYPI_API_TOKEN`, `FORGEJO_RELEASE_TOKEN`, `GITHUB_MIRROR_TOKEN`, `CODEBERG_MIRROR_TOKEN` ## Mirror targets - GitHub: `github.com/CircuitForgeLLC/circuitforge-core` (MIT — public mirror OK) - Codeberg: `codeberg.org/CircuitForge/circuitforge-core` ## Test plan - [ ] Push to main triggers CI job - [ ] Push a `v*` tag triggers release + mirror jobs - [ ] Verify PyPI publish succeeds - [ ] Verify GitHub + Codeberg receive the mirror push
pyr0ball added 1 commit 2026-04-05 18:00:38 -07:00
pyr0ball force-pushed feature/ci-cd from ed0e160ccd to 874354f235 2026-04-05 20:51:21 -07:00 Compare
pyr0ball merged commit 4d858af4d1 into main 2026-04-05 20:51:31 -07:00
pyr0ball deleted branch feature/ci-cd 2026-04-05 20:51:31 -07:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Circuit-Forge/circuitforge-core#29
No description provided.