PolyChord / PolyChordLite

Public version of PolyChord: See polychord.co.uk for PolyChordPro
https://polychord.io/
Other
83 stars 26 forks source link

Add pytests #102

Closed AdamOrmondroyd closed 5 months ago

AdamOrmondroyd commented 9 months ago

PolyChordLite doesn't currently have any tests besides checking that run_pypolychord.py runs. This PR adds tests using pytest, which are currently:

This framework would allow an array of different likelihoods and settings to be iterated over without needing another run_something.py every time.

AdamOrmondroyd commented 9 months ago

Had to add some more boilerplate to pyproject.toml to get the optional dependencies to work properly