Skip to content

Commit f21491d

Browse files
committed
CI: Use conda-incubator/setup-miniconda
1 parent 66354df commit f21491d

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,23 +92,44 @@ jobs:
9292
with:
9393
fetch-depth: 1
9494

95+
- uses: conda-incubator/setup-miniconda@v2
96+
with:
97+
activate-environment: test
98+
python-version: ${{ matrix.python }}
99+
95100
- uses: ruby/setup-ruby@v1
96101
if: matrix.ruby_version != 'master-nightly'
97102
with:
98103
ruby-version: ${{ matrix.ruby }}
99104

100-
- uses: s-weigand/setup-conda@v1
101-
with:
102-
python-version: ${{ matrix.python }}
105+
- name: Add Ruby path
106+
run: |
107+
echo >> ~/.profile
108+
echo >> ~/.profile
109+
IFS=:
110+
for p in $PATH; do
111+
case $p in
112+
*/Ruby/*)
113+
echo "export PATH=$p:\$PATH" >> ~/.profile
114+
;;
115+
esac
116+
done
117+
118+
- run: cat ~/.profile
119+
120+
- run: bash -xe ~/.profile
103121

104122
- run: conda install numpy
123+
shell: bash -l {0}
105124

106125
- run: bundle install
107126

108127
- run: rake compile
109128

110129
- run: python lib/pycall/python/investigator.py
130+
shell: bash -l {0}
111131

112132
- run: rake
113133
env:
114134
PYTHON: python
135+
shell: bash -l {0}

0 commit comments

Comments
 (0)