A Web Processing Service for the Plan2Adapt Rule Engine.
Most of the documentation is static and does not need to be “built”. That being said the jupyter notebooks that serve as demos need to be built whenever they are changed. This can be done with the Makefile.
$ make docs
Run tests using pytest.
First activate the sandpiper Python environment and install pytest.
$ python3 -m venv venv
$ source venv/bin/activate
(venv)$ pip install -r requirements_dev.txt # if not already installed
# OR
(venv)$ make install
Run quick tests (skip slow and online):
(venv)$ pytest -m 'not slow and not online'"
Run all tests:
(venv)$ pytest
You can also run tests on the notebooks using the Makefile.
$ make test-notebooks
Check black formatting:
(venv)$ black .
Do the same as above using the Makefile
$ make test
$ make test-all
$ make lint
Make a new version of sandpiper in the following steps:
CHANGES.md with the next version.bumpversion --dry-run --verbose --new-version 0.8.1 patchbumpversion --new-version 0.8.1 patchbumpversion --new-version 0.9.0 minorgit pushgit push --tagsSee the bumpversion documentation for details.