Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continuous integration tests for sampling #525

Open
wants to merge 18 commits into
base: 520-feature-using-latinhypercube-for-priordraw
Choose a base branch
from

Conversation

thjsal
Copy link
Contributor

@thjsal thjsal commented Feb 20, 2025

I added a couple of new GitHub CI tests checking that

  1. unit_hypercube_frac returns the same value as before.

  2. Sampling with UltraNest does not crash. To make this test work I needed to add a requirement that GitHub installs UltraNest version that is newer than 4.0. Otherwise, test failed if using python3.9 or python3.10 (where it installed older UltraNest by default, which seemed inconsistent with the installed Numpy version).

I tried also adding a test for MultiNest, but could not in the end get the test program to find the MultiNest library files. However, I left the MultiNest installation and the corresponding test there as commented out if someone will figure out how to get it working.

@thjsal thjsal changed the title Ci tests for sampling Continuous integration tests for sampling Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant