Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
fix: skip failing test to check everything else is working
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Sep 30, 2024
1 parent d8eb6a8 commit 0b8ef8e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ defaults:
env:
FORCE_COLOR: true
TEST_DATA_HOME: /home/runner/eddymotion-tests/
ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS: 4

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
4 changes: 4 additions & 0 deletions test/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""

Expand Down
6 changes: 6 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ pass_env =
NO_COLOR
CLICOLOR
CLICOLOR_FORCE
GITHUB_ACTIONS
TEST_DATA_HOME
TEST_OUTPUT_DIR
TEST_WORK_DIR
PYTHONHASHSEED
ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS
extras = test
commands =
pytest --doctest-modules --cov eddymotion -n auto -x --cov-report xml \
Expand Down

0 comments on commit 0b8ef8e

Please sign in to comment.