GitHub Actions
mikegerber opened this issue · 1 comments
- Port CI from CircleCI to GitHub Actions
- Run tests in GitHub Actions
- Replace CI badge
- Review Black job
-
Port Black job - Remove project in CircleCI
- Remove
.circleci/
- Release using the workflow we prototyped in setuptools_ocrd
- Diff again (had to fix issues here)
- Releasing should depend on the Test workflow
- Setup tests for PRs (see also #68)
- This should serve as a template for other projects (ideally: reusable workflow)
- Review documentation in
README*
- "just Black" workflow for PRs + master/main (see comment below for concepts)
- pip wheel cache
- Review Security guides
- Releasing on PYPI somehow requires a manual review now?
* [ ] Review Black job
It didn't do much yet. The most useful behavior for the (future) GitHub Actions Black workflow would be:
-
a. Run Black on PRs and add fixes by adding a commit to the PR
b. Run Black on master/main by creating a PRRunning Black checks = requiring the code to be conforming would be annoying, I'd like to avoid being annoying. If devs want to be annoyed, they can choose to enable pre-commit.
-
Black workflow should be reusable. I want to do this once properly and then just add a tested config when I want it in another project.
-
Test if running pre-commit's fixes automatically (incl. Black) would do it. Buthaving a "just Black" workflow would be nice because I think this would be easier to sell to other team member's projects than the whole pre-commit stuff. → Decided to have a reusable "just Black" workflow.