appsembler / figures

Reporting and data retrieval app for Open edX
MIT License
44 stars 37 forks source link

build and publish figures on pypi #372

Closed OmarIthawi closed 3 years ago

OmarIthawi commented 3 years ago

This is an initial attempt to publish figures on pypi.

It'll probably not work so I've committed the publish step just to make sure the build can be done.

@johnbaldwin I hope this will be a pleasant surprise for you when you're back 🙂

This has been made from the Figures build and release steps in our confluence docs.

Publish only 1.2.3.dev1 releases

This is still in testing and it's good not to mess up the Figures PyPI so this action will only publish .dev releases as described in the setuptools of Python: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

One this is tested and working, we'll publish for all releases.

Proposed workflow

This will enable a GitHub-based workflow which is completely different from the previous command line based one:

The workflow above is different from our PyPI release Runbook.