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-hea 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-hea repository in your Travis account.
aiida-hea 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-hea repository on your RTD profile, preferably using
aiida-hea as the project name - that’s it!