Development

For the general workflow, please refer to the BMicro docs.

Tests

We try to adhere to test-driven development. Please always write test functions for your code. Please make sure the pytest package is installed:

pip install pytest

You can run all tests via:

py.test tests

Making a new release

The release process of bmlab is completely automated. All you need to know is that you have to create an incremental tag on the main branch:

git tag -a "0.1.3"
# or (if you have set up PGP)
git tag -s "0.1.3"
# and finally
git push --tags

For more information on how automatic deployment to PyPI works, please read on.

Continuous integration

The following things are automated:

Badges for all of these CI tasks are in the main README.rst file.