8000 moved download of task template into separate job to avoid issues wit… by tclose · Pull Request #19 · nipype/nipype2pydra · GitHub
[go: up one dir, main page]

Skip to content

moved download of task template into separate job to avoid issues wit… #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
May 17, 2024
Merged
Prev Previous commit
ghdb
  • Loading branch information
tclose committed May 17, 2024
commit c9c0fcf7732b11110d507007bb9dde3467daac8c
13 changes: 4 additions & 9 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@ jobs:
rm pydra-tasks-template.tar.gz
mv pydra-tasks-template-${LATEST#v} pydra-tasks-template
tar czf pydra-tasks-template.tar.gz pydra-tasks-template
echo $PWD
ls

- uses: actions/upload-artifact@v4
with:
name: tasks-template
path: /pydra-tasks-template.tar.gz
path: pydra-tasks-template.tar.gz

test:
needs: [download-task-template]
Expand All @@ -54,13 +52,10 @@ jobs:
uses: actions/download-artifact@v4
with:
name: tasks-template
path: /pydra-tasks-template.tar.gz
path: .

- name: Extract the pydra-tasks-template
run: |
pushd /
tar xzf pydra-tasks-template.tar.gz
popd
run: tar xzf pydra-tasks-template.tar.gz

- name: Unset header
# checkout@v2 adds a header that makes branch protection report errors
Expand Down Expand Up @@ -99,7 +94,7 @@ jobs:

- name: Pytest
run: >-
NIPYPE2PYDRA_PYDRA_TASK_TEMPLATE=/pydra-tasks-template
NIPYPE2PYDRA_PYDRA_TASK_TEMPLATE=$PWD/pydra-tasks-template
pytest -vvs --cov nipype2pydra --cov-config .coveragerc --cov-report xml

- name: Upload coverage to Codecov
Expand Down
Loading
0