Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BIP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
BIP
Commits
206b59e3
Commit
206b59e3
authored
2 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
CI: Install some more dependencies in CI env
parent
b29ea4d2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!4
ENH: Config file templating
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.ci/create_dev_env.sh
+24
-0
24 additions, 0 deletions
.ci/create_dev_env.sh
.ci/unit_tests.sh
+5
-8
5 additions, 8 deletions
.ci/unit_tests.sh
with
29 additions
and
8 deletions
.ci/create_dev_env.sh
0 → 100644
+
24
−
0
View file @
206b59e3
#!/usr/bin/env bash
envdir
=
${
1
}
channels
=(
-c
https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/development/
-c
https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/public/
-c
conda-forge
)
conda create
-y
${
channels
[@]
}
\
-p
./
${
envdir
}
\
"python=
${
PYTHON_VERSION
}
"
\
pytest
\
coverage
\
pytest-cov
\
fsl-avwutils
\
fsl-pyfix
\
file-tree file-tree-fsl
\
fsl_sub
\
fsl_sub_plugin_slurm
\
fsl_sub_plugin_sge
source
activate
${
envdir
}
pip
install
dmri-amico
pip
install
git+https://git.fmrib.ox.ac.uk/ndcn0236/pipe-tree.git
This diff is collapsed.
Click to expand it.
.ci/unit_tests.sh
+
5
−
8
View file @
206b59e3
#!/usr/bin/env bash
conda create
\
-c
https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/public/
\
-c
conda-forge
\
-p
./test.env
\
"python=
${
PYTHON_VERSION
}
"
\
pytest
\
coverage
\
pytest-cov
thisdir
=
$(
cd
$(
dirname
$0
)
&
pwd
)
${
thisdir
}
/create_dev_env.sh ./test.env
source
activate ./test.env
export
FSLDIR
=
$CONDA_PREFIX
source
$FSLDIR
/etc/fslconf/fsl.sh
pip
install
--no-deps
-e
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment