Skip to content

Commit d9c385a

Browse files
committed
CI: Enable doctests
1 parent baab901 commit d9c385a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.azure-pipelines/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
mkdir for_testing
115115
cd for_testing
116116
cp ../.coveragerc .
117-
pytest --cov nibabel -v --pyargs nibabel
117+
pytest --doctest-modules --cov nibabel -v --pyargs nibabel
118118
displayName: 'Pytest tests'
119119
condition: and(succeeded(), eq(variables['CHECK_TYPE'], 'test'))
120120
- script: |

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ script:
206206
mkdir for_testing
207207
cd for_testing
208208
cp ../.coveragerc .
209-
pytest --cov nibabel -v --pyargs nibabel
209+
pytest --doctest-modules --cov nibabel -v --pyargs nibabel
210210
else
211211
false
212212
fi

0 commit comments

Comments
 (0)