Skip to content

Commit 06eb538

Browse files
authored
Merge pull request #326 from effigies/ci/unittest-py310
CI: Run unit tests on Python 3.10
2 parents 5a4ad3a + a765f6b commit 06eb538

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

.github/workflows/unittests.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,15 @@ jobs:
3131
AFNI_TTATLAS_DATASET: /opt/afni/atlases
3232
AFNI_PLUGINPATH: /opt/afni/plugins
3333
ANTSPATH: /opt/ants
34+
DEPS: ${{ matrix.deps }}.txt
3435
strategy:
3536
max-parallel: 5
3637
matrix:
37-
python-version: [3.8, 3.9]
38+
python-version: ["3.8", "3.9", "3.10"]
39+
deps: ["requirements"]
40+
include:
41+
- python-version: "3.8"
42+
deps: "min-requirements"
3843

3944
steps:
4045
- uses: actions/cache@v3
@@ -109,10 +114,10 @@ jobs:
109114
run: |
110115
conda install fsl-fugue fsl-topup
111116
- uses: actions/checkout@v3
112-
- name: Install minimal dependencies
117+
- name: Install dependencies
113118
timeout-minutes: 5
114119
run: |
115-
pip install -r min-requirements.txt
120+
pip install -r $DEPS
116121
pip install .[tests]
117122
118123

min-requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Auto-generated by .maint/update_requirements.py
22
attrs==20.1.0
33
nibabel==3.1.0
4-
nipype==1.5.1
4+
nipype==1.8.5
55
traits<6.4
6-
niworkflows==1.6.3
6+
niworkflows==1.7.0
77
nitransforms==21.0.0
88
numpy==1.21.0
99
pybids==0.15.1

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Auto-generated by .maint/update_requirements.py
22
attrs>=20.1.0
33
nibabel>=3.1.0
4-
nipype<2.0,>=1.5.1
4+
nipype<2.0,>=1.8.5
55
traits<6.4
6-
niworkflows~=1.6.3
6+
niworkflows>=1.7.0
77
nitransforms>=21.0.0
88
numpy>=1.21.0
99
pybids>=0.15.1

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ setup_requires =
3030
install_requires =
3131
attrs >= 20.1.0
3232
nibabel >=3.1.0
33-
nipype >=1.5.1,<2.0
33+
nipype >=1.8.5,<2.0
3434
traits <6.4
3535
niworkflows >= 1.7.0
3636
nitransforms >= 21.0.0

0 commit comments

Comments
 (0)