Continuous integration and testing for OpenQuake#

Automatic testing#

The OpenQuake code is automatically tested by Continuous integration systems (GitHub and GitLab Actions), at every merge and every night.

Manual testing#

The tests for the OpenQuake Engine can be run by using pytest, assuming you have an installation from sources. First of all you need to create the engine database:

$ oq engine --upgrade-db

Then you can run the tests as follows:

# Hazardlib
$ pytest -vs openquake/hazardlib

# Calculators
$ pytest -vs openquake/calculators

See the pytest documentation for further information and command options.


Getting help#

If you need help or have questions/comments/feedback for us, you can subscribe to the OpenQuake users mailing list: https://groups.google.com/g/openquake-users