diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index e96e48f..cfa35ab 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -43,6 +43,10 @@ jobs: python-version: ${{ matrix.config.py }} - name: Install dmri-commit run: pip install . --no-cache-dir --force-reinstall + - name: pip list + run: | + python -V + pip list - name: Run test id: run_test working-directory: tests diff --git a/tests/test_demo.py b/tests/test_demo.py index c7b16a4..38be189 100644 --- a/tests/test_demo.py +++ b/tests/test_demo.py @@ -38,7 +38,7 @@ def run_commit_StickZeppelinBall(local_path): mit.set_threads() mit.build_operator() - mit.fit( tol_fun=1e-3, max_iter=1000, verbose=False ) + mit.fit( tol_fun=1e-3, max_iter=1000, verbose=True ) mit.save_results() @@ -115,6 +115,8 @@ def check_results(pickle_result, ref_pickle): result_optimization = data[0]["optimization"] ref_optimization = ref_data[0]["optimization"] + print(result_optimization["fit_details"]) + print(ref_optimization["fit_details"]) try: assert result_optimization["fit_details"] == ref_optimization["fit_details"] except AssertionError: