diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 97a0b909c3c3a804358b4b186a895a1ce35dfbd9..459bc47a1dd937bdb1b1f83fb0fc8f84be151d72 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,6 +19,7 @@ build.intel: - make install - cd ../ - pytest tests/pytest + - tests/googletest/sisso_test - cd tests/exec_test/classification - ../../../bin/sisso++ - python check_model.py @@ -38,7 +39,6 @@ build.intel: - ../../../bin/sisso++ - python ../check_model.py - cd ../../../ - - tests/googletest/sisso_test tags: - docker @@ -56,6 +56,7 @@ build.gnu: - make install - cd ../ - pytest tests/pytest + - tests/googletest/sisso_test - cd tests/exec_test/classification - ../../../bin/sisso++ - python check_model.py @@ -75,6 +76,5 @@ build.gnu: - ../../../bin/sisso++ - python ../check_model.py - cd ../../../ - - tests/googletest/sisso_test tags: - docker diff --git a/tests/exec_test/check_model.py b/tests/exec_test/check_model.py index 86bb89466b2489c6e6b9c42d74c94d0facde7426..2ad6f45c1d169697756c751e4d1d58589c82bdda 100644 --- a/tests/exec_test/check_model.py +++ b/tests/exec_test/check_model.py @@ -6,5 +6,5 @@ import numpy as np model = ModelRegressor( str("models/train_dim_2_model_0.dat"), str("models/test_dim_2_model_0.dat") ) -assert model.rmse < 1e-7 -assert model.test_rmse < 1e-7 +assert model.rmse < 1e-4 +assert model.test_rmse < 1e-4