Skip to content

Commit a99ebfd

Browse files
committed
ci: Try un-disabling all tests on GHA
1 parent 1c19ef0 commit a99ebfd

File tree

7 files changed

+0
-18
lines changed

7 files changed

+0
-18
lines changed

sdcflows/tests/test_transform.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
# https://www.nipreps.org/community/licensing/
2222
#
2323
"""Unit tests of the transform object."""
24-
import os
2524
from subprocess import check_call
2625
from itertools import product
2726
import pytest

sdcflows/workflows/fit/tests/test_pepolar.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,12 @@
2121
# https://www.nipreps.org/community/licensing/
2222
#
2323
"""Test pepolar type of fieldmaps."""
24-
import os
2524
import pytest
2625
from nipype.pipeline import engine as pe
2726

2827
from ..pepolar import init_topup_wf
2928

3029

31-
@pytest.mark.skipif(os.getenv("TRAVIS") == "true", reason="this is TravisCI")
32-
@pytest.mark.skipif(os.getenv("GITHUB_ACTIONS") == "true", reason="this is GH Actions")
3330
@pytest.mark.parametrize("ds", ("ds001771", "HCP101006"))
3431
def test_topup_wf(tmpdir, bids_layouts, workdir, outdir, ds):
3532
"""Test preparation workflow."""

sdcflows/workflows/fit/tests/test_phdiff.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
# https://www.nipreps.org/community/licensing/
2222
#
2323
"""Test phase-difference type of fieldmaps."""
24-
import os
2524
from pathlib import Path
2625
from json import loads
2726

@@ -30,8 +29,6 @@
3029
from ..fieldmap import init_fmap_wf, Workflow
3130

3231

33-
@pytest.mark.skipif(os.getenv("TRAVIS") == "true", reason="this is TravisCI")
34-
@pytest.mark.skipif(os.getenv("GITHUB_ACTIONS") == "true", reason="this is GH Actions")
3532
@pytest.mark.parametrize(
3633
"fmap_file",
3734
[

sdcflows/workflows/fit/tests/test_syn.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,13 @@
2121
# https://www.nipreps.org/community/licensing/
2222
#
2323
"""Test fieldmap-less SDC-SyN."""
24-
import os
2524
import json
2625
import pytest
2726
from nipype.pipeline import engine as pe
2827

2928
from ..syn import init_syn_sdc_wf, init_syn_preprocessing_wf, _adjust_zooms, _set_dtype
3029

3130

32-
@pytest.mark.skipif(os.getenv("TRAVIS") == "true", reason="this is TravisCI")
33-
@pytest.mark.skipif(os.getenv("GITHUB_ACTIONS") == "true", reason="this is GH Actions")
3431
def test_syn_wf(tmpdir, datadir, workdir, outdir, sloppy_mode):
3532
"""Build and run an SDC-SyN workflow."""
3633
derivs_path = datadir / "ds000054" / "derivatives"

sdcflows/workflows/tests/test_ancillary.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,13 @@
2121
# https://www.nipreps.org/community/licensing/
2222
#
2323
"""Check the tools submodule."""
24-
import os
2524
import pytest
2625
from nipype.pipeline import engine as pe
2726
from nipype.interfaces import utility as niu
2827
from niworkflows.interfaces.reportlets.masks import SimpleShowMaskRPT
2928
from ..ancillary import init_brainextraction_wf
3029

3130

32-
@pytest.mark.skipif(os.getenv("GITHUB_ACTIONS") == "true", reason="this is GH Actions")
3331
@pytest.mark.parametrize("folder", ["magnitude/ds000054", "magnitude/ds000217"])
3432
def test_brainmasker(tmpdir, datadir, workdir, outdir, folder):
3533
"""Exercise the brain masking tool."""

sdcflows/workflows/tests/test_base.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#
2323
"""Test the base workflow."""
2424
from pathlib import Path
25-
import os
2625
import pytest
2726
from sdcflows import fieldmaps as fm
2827
from sdcflows.utils.wrangler import find_estimators
@@ -62,9 +61,6 @@ def test_fmap_wf(tmpdir, workdir, outdir, bids_layouts, dataset, subject):
6261
if workdir:
6362
wf.base_dir = str(workdir)
6463

65-
if os.getenv("GITHUB_ACTIONS") == "true":
66-
return
67-
6864
res = wf.run(plugin="Linear")
6965

7066
# Regression test for when out_merge_fmap_coeff was flattened and would

sdcflows/workflows/tests/test_integration.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
# https://www.nipreps.org/community/licensing/
2222
#
2323
"""Test the base workflow."""
24-
import os
2524
from pathlib import Path
2625
import json
2726
import pytest
@@ -37,7 +36,6 @@
3736
)
3837

3938

40-
@pytest.mark.skipif(os.getenv("GITHUB_ACTIONS") == "true", reason="this is GH Actions")
4139
@pytest.mark.parametrize("pe0", ["LR", "PA"])
4240
@pytest.mark.parametrize("mode", ["pepolar", "phasediff"])
4341
def test_integration_wf(tmpdir, workdir, outdir, datadir, pe0, mode):

0 commit comments

Comments
 (0)