Skip to content

Commit 0f44f93

Browse files
committed
reverted to miniconda and added bash -l {0} to defaults
1 parent d62effa commit 0f44f93

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,20 @@ jobs:
5252
strategy:
5353
matrix:
5454
python-version: [3.7, 3.8, 3.9]
55-
55+
defaults:
56+
run:
57+
shell: bash -l {0}
5658
steps:
5759
- uses: actions/checkout@v2
58-
- name: Install MRtrix3 dependencies
59-
run: |
60-
sudo apt update
61-
sudo apt-get install git g++ python python-numpy libeigen3-dev zlib1g-dev libgl1-mesa-dev libfftw3-dev libtiff5-dev
62-
- name: Install MRtrix3 from source
60+
- name: Install Minconda
61+
uses: conda-incubator/setup-miniconda@v2
62+
with:
63+
auto-activate-base: true
64+
activate-environment: ""
65+
- name: Install MRtrix via Conda
6366
run: |
64-
git clone https://github.com/MRtrix3/mrtrix3.git
65-
cd mrtrix3
66-
./configure -nogui
67-
./build bin/mrconvert
68-
cd -
67+
conda install -c mrtrix3 mrtrix3
68+
mrconvert --version
6969
- name: Set up Python ${{ matrix.python-version }}
7070
uses: actions/setup-python@v2
7171
with:

0 commit comments

Comments
 (0)