TailorDev / Watson

:watch: A wonderful CLI to track your time!
http://tailordev.github.io/Watson/
MIT License
2.41k stars 237 forks source link

Add Black formatting and use GitHub workflows #476

Open DeD1rk opened 2 years ago

DeD1rk commented 2 years ago

Closes #385. Closes #78.

This replaces Travis CI with GitHub actions, and adds formatting with Black.

It also adds a workflow for deploying MkDocs docs and publishing to PyPI upon publishing a GitHub release.

DeD1rk commented 2 years ago

The CI added here of course only runs on my fork, so you can't really see it in action (but you should be able to view the result on the fork).

DeD1rk commented 2 years ago

@jmaupetit in https://github.com/TailorDev/Watson/pull/476/commits/aae44fa8116a04328ee22b46e9f1632b717fc20a I added a workflow for mkdocs (so it replaces #83) and publishing to PyPI too, but I can't really test that, and for PyPI it needs an API token as a secret, so you should consider whether you want to use that or not, and perhaps test it against TestPyPI (https://test.pypi.org).