Devops¶
Azure Pipeline¶
blocklib
is automatically built and tested using Azure Pipeline
as part of the Anonlink project.
The continuous integration pipeline is here, and the release pipeline is here
Build Pipeline¶
The build pipeline is defined in the script azure-pipelines.yml
.
There are three top level stages in the build pipeline:
- Static Checks - run typechecking with mypy.
- Test and build - tests the library using
pytest
with different versions ofPython
. - Build Wheel Packages - packages blocklib into wheels and saves the build artifacts.
The Test and build job does:
- install the requirements,
- run tests on Ubuntu 18.04 OS, for
Python 3.5
,Python 3.6
,Python 3.7
andPython 3.8
- publish the test results,
- publish the code coverage (on Azure only),
- package and publish the artifacts.