-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or request
Description
It would be nice if we could automate everything!
Some things that our github actions could do
on every pull request, we should...
- check that we follow the conventional commits spec for that PR title
so that we can automatically figure out how to bump the version number later on (see for ex, this) - run
black(andisort?) to check that we follow proper style - check that the docs can be built
but this is already handled by readthedocs, anyway - check that large files aren't included in the PR via this github action
- run pytest to check that...
- all the tests pass
- the code coverage doesn't decrease?
every so often, when we want to create a new release, it should...
- bump the version number
- build the changelog
- build the newest release
- publish it to pypi (and bioconda?)
nox
- we should install and configure nox to have it run all of our checks
- incorporate a type checker like mypy?
version constraints
- we should test our version constraints using nox to ensure they're not being too picky
- also, do we really need to depend on
brewer2mpl? can we find an alternative?
- also, do we really need to depend on
- and we should remove the upper-limit caps that get added by default by poetry
- I just read this article about it, and it was eye opening
- also we should make sure we're configuring our loggers properly (see here, here, and here)
Some relevant links
- https://cookiecutter-hypermodern-python.readthedocs.io/
- https://github.com/snakemake/snakemake/tree/main/.github/workflows
- https://github.com/googleapis/release-please#release-please
- https://mestrak.com/blog/semantic-release-with-python-poetry-github-actions-20nn
- https://github.com/amannn/action-semantic-pull-request
- https://github.com/elgohr/Publish-Docker-Github-Action
- https://about.codecov.io/blog/python-code-coverage-using-github-actions-and-codecov/
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request