@@ -30,18 +30,83 @@ jobs:
30
30
displayName: 'Update build tools'
31
31
- script : |
32
32
python -m pip install --find-links %EXTRA_WHEELS% %DEPENDS%
33
- python -m pip install coverage codecov pytest
33
+ python -m pip install nose coverage codecov pytest pytest-cov
34
34
displayName: 'Install dependencies'
35
35
- script : |
36
36
python -m pip install .[$(CHECK_TYPE)]
37
37
SET NIBABEL_DATA_DIR=%CD%\\nibabel-data
38
38
displayName: 'Install nibabel'
39
+ - script : |
40
+ mkdir for_testing
41
+ cd for_testing
42
+ cp ../.coveragerc .
43
+ nosetests --with-doctest --with-coverage --cover-package nibabel nibabel ^
44
+ -I test_array_sequence ^
45
+ -I test_tractogram ^
46
+ -I test_api_validators ^
47
+ -I test_arrayproxy ^
48
+ -I test_arraywriters ^
49
+ -I test_batteryrunners ^
50
+ -I test_brikhead ^
51
+ -I test_casting ^
52
+ -I test_cifti2io_header ^
53
+ -I test_data ^
54
+ -I test_deprecated ^
55
+ -I test_deprecator ^
56
+ -I test_dft ^
57
+ -I test_ecat ^
58
+ -I test_ecat_data ^
59
+ -I test_endiancodes ^
60
+ -I test_environment ^
61
+ -I test_euler ^
62
+ -I test_filebasedimages ^
63
+ -I test_filehandles ^
64
+ -I test_fileholders ^
65
+ -I test_filename_parser ^
66
+ -I test_files_interface ^
67
+ -I test_fileslice ^
68
+ -I test_fileutils ^
69
+ -I test_floating ^
70
+ -I test_funcs ^
71
+ -I test_h5py_compat ^
72
+ -I test_image_api ^
73
+ -I test_image_load_save ^
74
+ -I test_image_types ^
75
+ -I test_imageclasses ^
76
+ -I test_imageglobals ^
77
+ -I test_keywordonly ^
78
+ -I test_loadsave ^
79
+ -I test_minc1 ^
80
+ -I test_minc2 ^
81
+ -I test_minc2_data ^
82
+ -I test_mriutils ^
83
+ -I test_nibabel_data ^
84
+ -I test_nifti1 ^
85
+ -I test_nifti2 ^
86
+ -I test_openers ^
87
+ -I test_optpkg ^
88
+ -I test_orientations ^
89
+ -I test_parrec ^
90
+ -I test_parrec_data ^
91
+ -I test_pkg_info ^
92
+ -I test_processing ^
93
+ -I test_proxy_api ^
94
+ -I test_quaternions ^
95
+ -I test_recoder ^
96
+ -I test_remmovalschedule ^
97
+ -I test_round_trip ^
98
+ -I test_rstutils ^
99
+ -I test_scaling ^
100
+ -I test_wrapstruct
101
+ displayName: 'Nose tests'
102
+ condition: and(succeeded(), eq(variables['CHECK_TYPE'], 'nosetests'))
39
103
- script : |
40
104
mkdir for_testing
41
105
cd for_testing
42
106
cp ../.coveragerc .
43
107
pytest --cov nibabel -v --pyargs nibabel
44
- displayName: 'Run tests'
108
+ displayName: 'Pytest tests'
109
+ condition: and(succeeded(), eq(variables['CHECK_TYPE'], 'test'))
45
110
- script : |
46
111
cd for_testing
47
112
codecov
0 commit comments