microsoft / sammo

A library for prompt engineering and optimization (SAMMO = Structure-aware Multi-Objective Metaprompt Optimization)
MIT License
581 stars 29 forks source link

Enable build pipeline and require PRs for merge to main #10

Closed pbourke closed 9 months ago

pbourke commented 9 months ago

Enable build pipeline via GitHub Actions to automate quality checks and artifact assembly:

Require a PR to merge to main (disable direct push), and require a green build pipeline before merge is allowed.

Subsequent issues will cover the release process wherein a new version is created and the code and documentation artifacts are published (to PyPI, GH Pages and readthedocs). Additional checks to consider in the future include test and documentation coverage reports.

Right now the SAMMO docs site hosted on GH Pages is built from a separate gh-pages branch. This issue moves towards building docs and code from the same branch (so, moving from "publishing from a branch" style to "publishing with a custom GitHub Actions workflow")