diff --git a/test/test_integration.py b/test/test_integration.py index a3e436ec..e386d842 100644 --- a/test/test_integration.py +++ b/test/test_integration.py @@ -22,14 +22,18 @@ # """Integration tests.""" +import os import nibabel as nb import nitransforms as nt import numpy as np +import pytest + from eddymotion.data.dmri import DWI from eddymotion.estimator import EddyMotionEstimator +@pytest.mark.skipif(os.getenv("GITHUB_ACTIONS", "false") == "true", reason="Skip GHA") def test_proximity_estimator_trivial_model(datadir): """Check the proximity of transforms estimated by the estimator with a trivial B0 model.""" diff --git a/tox.ini b/tox.ini index 9fabce65..95b303f2 100644 --- a/tox.ini +++ b/tox.ini @@ -25,6 +25,8 @@ pass_env = NO_COLOR CLICOLOR CLICOLOR_FORCE + GITHUB_ACTIONS + TEST_DATA_HOME extras = test commands = pytest --doctest-modules --cov eddymotion -n auto -x --cov-report xml \