4646 run : git config --local --unset http.https://github.com/.extraheader
4747 - name : Fetch tags
4848 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 }}
6149 - name : Strip auto package from gitignore so it is included in package
6250 run : |
6351 sed -i '/\/pydra\/tasks\/mrtrix3\/${{ env.SUBPKG_NAME }}/d' .gitignore
@@ -87,10 +75,10 @@ jobs:
8775 -e '.[test]'
8876 - name : Install development Pydra
8977 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() }}
9482
9583 deploy-fileformats :
9684 needs : [test]
@@ -178,13 +166,6 @@ jobs:
178166 # checkout@v2 adds a header that makes branch protection report errors
179167 # because the Github action bot is not a collaborator on the repo
180168 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
188169 - name : Download auto-gen pydra
189170 uses : actions/download-artifact@v4
190171 with :
@@ -208,7 +189,7 @@ jobs:
208189 if : github.event_name == 'release'
209190 run : |
210191 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";
212193 - name : Set up Python 3.11
213194 uses : actions/setup-python@v3
214195 with :
0 commit comments