Proposal to implement continuous integration workflows for quality checks and releases #95
EuleMitKeule
started this conversation in
General
Replies: 3 comments 5 replies
-
Sounds good to me, but I'll need a section on the readme on how to go about things, I'm not familiar with python CIs |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sure, I can write some explanations on how the CI works. By the way, I sent you a DM on Discord with the PyPI token I created, so that we can publish the package to PyPI from the CI. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Just a side note, instead of hard-coding the token inside the project settings, you could alternatively use trusted publisher setup :-) |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to propose the implementation of some GitHub actions workflows to automate the following tasks:
Code Quality
This workflow will run our code analysis tools on new pull requests and inform contributors of any formatting or typing related issues as to reduce the number of commits that have to be made regarding this topic.
Release
We could use
semantic-release
to automate release creation either on pushes/merges tomain
or on manual invocation of the workflow.semantic-release
will then calculate a version from the new commits as long as the commits follow the Conventional Commits format. This format could also optionally be forced usingpre-commit
along withgitlint
.Publish
The publish workflow will build the package automatically when a new release is created by the release workflow or by hand. The package will then be uploaded to pyPI.
To accomplish these automations @dbuezas will have to create an access token with read and write access to this repository and save it in a repository actions secret. I normally name this variable
PAT
.Beta Was this translation helpful? Give feedback.
All reactions