Skip to content

Commit

Permalink
version .1 with mcr, to test if gihub is ok now with docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmeunier79 committed Feb 7, 2024
1 parent 76774f8 commit 7a1885e
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 2 deletions.
83 changes: 82 additions & 1 deletion .github/workflows/build_on_prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
file: Dockerfile_testpypi_nomcr
file: Dockerfile_testpypi
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down Expand Up @@ -350,3 +350,84 @@ jobs:
run:
sudo rm -rf macaque_prime-de/results/derivatives/macapype_crop_aladin_ants_t1_t2


run-pretest-spm-macaque:
name: Running all existing pipelines in macapype_CI.zip (SPM_native macaque)
needs: docker-build
runs-on: ubuntu-latest
timeout-minutes: 1440

steps:
- name: Pull latest docker image
run:
docker pull macatools/macapype:latest

- name: Download dataset
run: |
wget --no-check-certificate --content-disposition "https://amubox.univ-amu.fr/public.php?service=files&t=KJ2L5j6L6orPXxM&download" -O macapype_CI.zip
unzip -o macapype_CI.zip -d macapype_CI
pwd
echo ""
ls macapype_CI
echo ""
ls macapype_CI/macaque_prime-de
echo ""
ls macapype_CI/marmo-marmobrain
echo ""
- name: Running test pipeline macaque_prime-de SPM_native T1 T2
run: |
docker run -i -v /home/runner/work/macapype/macapype/macapype_CI:/data macatools/macapype:latest segment_pnh -data /data/macaque_prime-de -out /data/macaque_prime-de/results -soft SPM_native -species macaque -sub 032140 -ses 001 -deriv -pad -dt T1 T2
ls /home/runner/work/macapype/macapype/macapype_CI/macaque_prime-de/results/derivatives/macapype_crop_aladin_spm_t1_t2_native/sub-032140/ses-001/anat/
echo ""
- name: Cleaning dataset
run:
sudo rm -rf /home/runner/work/macapype/macapype/macapype_CI/macaque_prime-de/results/derivatives/macapype_crop_aladin_spm_t1_t2_native

run-pretest-spm-marmo:
name: Running all existing pipelines in macapype_CI.zip (SPM_native marmo)
needs: docker-build
runs-on: ubuntu-latest
timeout-minutes: 1440

steps:
- name: Pull latest docker image
run:
docker pull macatools/macapype:latest

- name: Download dataset
run: |
wget --no-check-certificate --content-disposition "https://amubox.univ-amu.fr/public.php?service=files&t=KJ2L5j6L6orPXxM&download" -O macapype_CI.zip
unzip -o macapype_CI.zip -d macapype_CI
pwd
echo ""
ls macapype_CI
echo ""
ls macapype_CI/macaque_prime-de
echo ""
ls macapype_CI/marmo-marmobrain
echo ""
- name: Running test pipeline marmo-marmobrain SPM_native_prep T1 T2
run: |
docker run -i -v /home/runner/work/macapype/macapype/macapype_CI:/data macatools/macapype:latest segment_pnh -data /data/marmo-marmobrain -out /data/marmo-marmobrain/results -soft SPM_native -species marmo -sub Percy -ses 01 -deriv -pad -dt T1 T2
ls /home/runner/work/macapype/macapype/macapype_CI/marmo-marmobrain/results/derivatives/macapype_crop_aladin_spm_t1_t2_native/sub-Percy/ses-01/anat/
echo ""
- name: Cleaning dataset
run:
sudo rm -rf /home/runner/work/macapype/macapype/macapype_CI/marmo-marmobrain/results/derivatives/macapype_crop_aladin_spm_t1_t2_native/
2 changes: 1 addition & 1 deletion macapype/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

__version__ = '0.3.5'
__version__ = '0.3.5.1-rc1'

0 comments on commit 7a1885e

Please sign in to comment.