Skip to content

Commit b664b42

Browse files
authored
Merge pull request #62 from nipype/new-syntax
regenerated packages with new syntax
2 parents c452a7c + 0410c0a commit b664b42

File tree

496 files changed

+24482
-38484
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

496 files changed

+24482
-38484
lines changed

.github/workflows/auto-conv.yaml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
#This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+
# For deployment, it will be necessary to create a PyPI API token and store it as a secret
5+
# https://docs.github.com/en/actions/reference/encrypted-secrets
6+
7+
name: Auto-convert Nipype tasks to Pydra
8+
9+
on:
10+
workflow_dispatch: # Trigger this workflow manually or via a repository dispatch event
11+
repository_dispatch:
12+
types: [auto-conv]
13+
14+
permissions:
15+
contents: write
16+
pages: write
17+
id-token: write
18+
19+
jobs:
20+
21+
auto-conv:
22+
runs-on: ubuntu-latest
23+
steps:
24+
25+
- name: Checkout
26+
uses: actions/checkout@v4
27+
28+
- name: Checkout auto-conv branch
29+
run: git checkout auto-conv
30+
31+
- name: Set up Python
32+
uses: actions/setup-python@v5
33+
with:
34+
python-version: '3.13'
35+
36+
- name: Install build dependencies
37+
run: python -m pip install --upgrade pip
38+
39+
- name: Install requirements
40+
run: python -m pip install -r ./nipype-auto-conv/requirements.txt
41+
42+
- name: Run automatic Nipype > Pydra conversion
43+
run: ./nipype-auto-conv/generate
44+
45+
- name: Create branch that rebases main on auto-conv
46+
run: |
47+
git config --local user.email "[email protected]"
48+
git config --local user.name "Github Action"
49+
git checkout -b main-rebase main
50+
git rebase auto-conv
51+
52+
- name: Create pull request
53+
uses: peter-evans/create-pull-request@v4
54+
with:
55+
branch: main-rebase
56+
title: 'Rebase main on auto-conv'
57+
body: 'This PR rebases the main branch on the auto-conv branch to include the latest Nipype to Pydra conversions.'
58+
base: main
59+
commit-message: 'Rebase main on auto-conv'
60+
labels: auto-conv
61+
62+
- uses: actions/upload-artifact@v4
63+
with:
64+
name: converted-nipype
65+
path: pydra/tasks/ants/v2
66+
retention-days: 7

0 commit comments

Comments
 (0)