46
46
run : git config --local --unset http.https://github.com/.extraheader
47
47
- name : Fetch tags
48
48
run : git fetch --prune --unshallow
49
- - name : Download version file
50
- uses : actions/download-artifact@v4
51
- with :
52
- name : VersionFile
53
- path : mrtrix3_version.txt
54
- - name : Extract Mrtrix version
55
- run : echo "MRTRIX_VERSION=$(cat mrtrix3_version.txt)" >> $GITHUB_ENV
56
- - name : Download auto-gen pydra
57
- uses : actions/download-artifact@v4
58
- with :
59
- name : AutoGen
60
- path : pydra/tasks/mrtrix3/${{ env.SUBPKG_NAME }}
61
49
- name : Strip auto package from gitignore so it is included in package
62
50
run : |
63
51
sed -i '/\/pydra\/tasks\/mrtrix3\/${{ env.SUBPKG_NAME }}/d' .gitignore
@@ -87,10 +75,10 @@ jobs:
87
75
-e '.[test]'
88
76
- name : Install development Pydra
89
77
run : pip install --no-deps git+https://github.com/nipype/pydra.git@develop
90
- # - name: Test with pytest
91
- # run: pytest -sv pydra/tasks/mrtrix3 --cov pydra.tasks.mrtrix3 --cov-report xml
92
- # - uses: codecov/codecov-action@v2
93
- # if: ${{ always() }}
78
+ - name : Test with pytest
79
+ run : pytest -sv pydra/tasks/mrtrix3 --cov pydra.tasks.mrtrix3 --cov-report xml
80
+ - uses : codecov/codecov-action@v2
81
+ if : ${{ always() }}
94
82
95
83
deploy-fileformats :
96
84
needs : [test]
@@ -178,13 +166,6 @@ jobs:
178
166
# checkout@v2 adds a header that makes branch protection report errors
179
167
# because the Github action bot is not a collaborator on the repo
180
168
run : git config --local --unset http.https://github.com/.extraheader
181
- - name : Download version file
182
- uses : actions/download-artifact@v4
183
- with :
184
- name : VersionFile
185
- path : mrtrix3_version.txt
186
- - name : Extract Mrtrix version
187
- run : echo "MRTRIX_VERSION=$(cat mrtrix3_version.txt)" >> $GITHUB_ENV
188
169
- name : Download auto-gen pydra
189
170
uses : actions/download-artifact@v4
190
171
with :
@@ -208,7 +189,7 @@ jobs:
208
189
if : github.event_name == 'release'
209
190
run : |
210
191
git tag -d ${{ steps.latest_tag.outputs.TAG }};
211
- git tag -a ${{ steps.latest_tag.outputs.TAG }} -m"Tag used to create a pydra-mrtrix3 $MRTRIX_VERSION release";
192
+ git tag -a ${{ steps.latest_tag.outputs.TAG }} -m"Tag used to create a pydra-tasks- mrtrix3 release";
212
193
- name : Set up Python 3.11
213
194
uses : actions/setup-python@v3
214
195
with :
0 commit comments