diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index add1efb9d012d318329d90d13c5b1fd39e92e006..9da54815555745c0c3d875ac63743cefbc9d919f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -115,7 +115,6 @@ python-3.7-samplers: - python -m pip install . - pytest test/integration/sampler_run_test.py --durations 10 - - pytest test/integration/sample_from_the_prior_test.py # test samplers on python 3.6 python-3.6-samplers: diff --git a/test/integration/sample_from_the_prior_test.py b/test/integration/sample_from_the_prior_test.py index e48c3574dc79c44b6b73089f2b3a71d24d4ea6c1..64bb0bed105f4b983632eef689903830ccec6411 100644 --- a/test/integration/sample_from_the_prior_test.py +++ b/test/integration/sample_from_the_prior_test.py @@ -90,10 +90,11 @@ class Test(unittest.TestCase): likelihood=likelihood, priors=priors, sampler="dynesty", - npoints=1000, - walks=100, + nlive=1000, + nact=10, outdir=self.outdir, label=label, + save=False ) pvalues = [ ks_2samp_wrapper( diff --git a/test/integration/sampler_run_test.py b/test/integration/sampler_run_test.py index 1e263986b7e513773628f1ea733f28df70d1f51b..46f09bbb6988e839d8c4390f278b470b1d882fab 100644 --- a/test/integration/sampler_run_test.py +++ b/test/integration/sampler_run_test.py @@ -48,7 +48,12 @@ class TestRunningSamplers(unittest.TestCase): likelihood=self.likelihood, priors=self.priors, sampler="dnest4", - nlive=100, + max_num_levels=2, + num_steps=10, + new_level_interval=10, + num_per_step=10, + thread_steps=1, + num_particles=50, save=False, ) @@ -147,7 +152,7 @@ class TestRunningSamplers(unittest.TestCase): sampler="pymc3", draws=50, tune=50, - n_init=1000, + n_init=250, save=False, )