Skip to content

Commit

Permalink
chmod scripts + update config for parallel test
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudbore committed Dec 12, 2024
1 parent c25fcd8 commit 3db7caa
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Run tests
run: |
export C_INCLUDE_PATH=$pythonLocation/include/python${{ steps.python-selector.outputs.python-version }}:$C_INCLUDE_PATH
pytest -n logical --cov-report term-missing:skip-covered
pytest -n logical --dist worksteal --cov-report term-missing:skip-covered
- name: Save test results and coverage
uses: actions/upload-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ required_plugins =
pytest-mock
pytest-html
pytest-cov
pytest-xdist

junit_logging = out-err

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ pyparsing==3.0.*
PySocks==1.7.*
pytest==7.2.*
pytest-xdist==3.6.*
pytest-xdist[psutil]==3.6.*
pytest-console-scripts==1.3.*
pytest-cov==4.1.0
pytest-html==4.1.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def test_get_endpoints_density_map_five_points():

result = nib.load(in_result).get_fdata()

assert np.allclose(endpoints_map, result)
assert np.allclose(endpoints_map, result, rtol=1e-03)


def test_get_head_tail_density_maps():
Expand Down
Empty file modified scripts/scil_connectivity_compute_simple_matrix.py
100644 → 100755
Empty file.
Empty file modified scripts/scil_fibertube_score_tractogram.py
100644 → 100755
Empty file.
Empty file modified scripts/scil_fibertube_tracking.py
100644 → 100755
Empty file.
Empty file modified scripts/scil_tractogram_filter_collisions.py
100644 → 100755
Empty file.
Empty file modified scripts/scil_viz_tractogram_collisions.py
100644 → 100755
Empty file.

0 comments on commit 3db7caa

Please sign in to comment.