diff --git a/.github/workflows/python_installation.yml b/.github/workflows/python_installation.yml index 1c7387abd3..1693971f67 100644 --- a/.github/workflows/python_installation.yml +++ b/.github/workflows/python_installation.yml @@ -33,7 +33,7 @@ jobs: conda config --set solver libmamba conda config --append channels conda-forge conda config --set show_channel_urls true - conda install lhapdf pandoc mongodb + conda install lhapdf pandoc - name: Install nnpdf with testing and qed extras shell: bash -l {0} run: | diff --git a/n3fit/src/n3fit/tests/test_hyperopt.py b/n3fit/src/n3fit/tests/test_hyperopt.py index 274394b25a..bf738a8ac8 100644 --- a/n3fit/src/n3fit/tests/test_hyperopt.py +++ b/n3fit/src/n3fit/tests/test_hyperopt.py @@ -1,5 +1,5 @@ """ - Test hyperoptimization features +Test hyperoptimization features """ import json @@ -177,6 +177,7 @@ def test_restart_from_pickle(tmp_path): # Note that it doesn't check the final loss of the second trial +@pytest.mark.skipif(shutil.which("mongod") is None, reason="mongodb not available") @pytest.mark.linux def test_parallel_hyperopt(tmp_path): """Ensure that the parallel implementation of hyperopt with MongoDB works as expected."""