Skip to content

github actions and publishing releases #117

@aryarm

Description

@aryarm

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 (and isort?) 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?
  • and we should remove the upper-limit caps that get added by default by poetry
  • also we should make sure we're configuring our loggers properly (see here, here, and here)

Some relevant links

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions