Nipype auto conv #179
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: fsl_docker | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
DOCKER_IMAGE: djarecka/fsl_py:6.0.4 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
lfs: true | |
- name: Pull docker image | |
run: | | |
docker pull $DOCKER_IMAGE | |
# Have image running in background | |
docker run `bash <(curl -s https://codecov.io/env)` -itd --name fsl_cont -v `pwd`:/pydra_fsl $DOCKER_IMAGE | |
- name: Updating pydra | |
run: docker exec fsl_cont bash -c "pip install https://github.com/nipype/pydra/tarball/master && python -c 'import pydra; print(pydra.__version__)'" | |
- name: Run pytest | |
run: docker exec fsl_cont bash -c "pytest --color=yes -vs /pydra_fsl/pydra/tasks/fsl" | |
- name: removing container | |
run: docker rm -f fsl_cont |