Running the tests¶
The following will discover and run all unit test:
pip install -e .[testing] pytest -v
Automatic coding style checks¶
Enable enable automatic checks of code sanity and coding style:
pip install -e .[pre-commit] pre-commit install
If you ever need to skip these pre-commit hooks, just use:
git commit -n
aiida-diff comes with a
.travis.yml file for continuous integration tests on every commit using Travis CI. It will:
- run all tests for the
- build the documentation
- check coding style and version number (not required to pass by default)
Just enable Travis builds for the
aiida-diff repository in your Travis account.
aiida-diff also includes an
azure-pipelines.yml file for continuous integration tests using Azure Pipelines.
The documentation of
is ready for ReadTheDocs:
Simply add the
aiida-diff repository on your RTD profile, preferably using
aiida-diff as the project name - that’s it!