Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudbore committed Dec 12, 2024
1 parent 40253b5 commit ed1c147
Show file tree
Hide file tree
Showing 3 changed files with 3 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 --cov-report term-missing:skip-covered
pytest -n logical --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 requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ pybids==0.16.*
pyparsing==3.0.*
PySocks==1.7.*
pytest==7.2.*
pytest-xdist==3.6.*
pytest-console-scripts==1.3.*
pytest-cov==4.1.0
pytest-html==4.1.1
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/test_aodf_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ def test_execution_symmetric_input(script_runner, monkeypatch):
ret = script_runner.run('scil_aodf_metrics.py', in_fodf,
'--sphere', 'repulsion100', '--not_all',
'--nufid', 'nufid.nii.gz',
'--processes', '4')
'--processes', '2')
assert not ret.success

0 comments on commit ed1c147

Please sign in to comment.