File tree Expand file tree Collapse file tree 3 files changed +39
-83
lines changed Expand file tree Collapse file tree 3 files changed +39
-83
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -141,3 +141,21 @@ jobs:
141141 with :
142142 user : __token__
143143 password : ${{ secrets.PYPI_API_TOKEN }}
144+
145+ checks :
146+ runs-on : ' ubuntu-latest'
147+ continue-on-error : true
148+ strategy :
149+ matrix :
150+ check : ['specs', 'style']
151+
152+ steps :
153+ - uses : actions/checkout@v4
154+ - name : Install the latest version of uv
155+ uses : astral-sh/setup-uv@v3
156+ - name : Show tox config
157+ run : uvx tox c
158+ - name : Show tox config (this call)
159+ run : uvx tox c -e ${{ matrix.check }}
160+ - name : Run check
161+ run : uvx tox -e ${{ matrix.check }}
Original file line number Diff line number Diff line change @@ -88,3 +88,24 @@ uv_resolution =
8888commands =
8989 python -c " import nipype; print(nipype.__version__)"
9090 pytest --durations =20 --durations-min =1.0 --cov-report term-missing {posargs:-n auto}
91+
92+ [testenv:specs]
93+ description = Rebuild spec tests
94+ deps =
95+ black
96+ # Rebuild dipy specs
97+ dipy
98+ # Faster to install old numpy than unreleased Dipy
99+ # This can be dropped once a Dipy release supports numpy 2
100+ numpy<2
101+ commands =
102+ python tools/checkspecs.py
103+
104+ [testenv:style]
105+ description = Check our style guide
106+ labels = check
107+ deps =
108+ black
109+ skip_install = true
110+ commands =
111+ black --check --diff nipype setup.py
You can’t perform that action at this time.
0 commit comments